summaryrefslogtreecommitdiff
path: root/src/fenv/fesetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/fesetround.c')
-rw-r--r--src/fenv/fesetround.c27
1 files changed, 12 insertions, 15 deletions
diff --git a/src/fenv/fesetround.c b/src/fenv/fesetround.c
index fa2369dd..3997adcf 100644
--- a/src/fenv/fesetround.c
+++ b/src/fenv/fesetround.c
@@ -1,28 +1,25 @@
-#if 0
-
#include <fenv.h>
+#include "_safety.h"
int fesetround(int round)
{
+ SIGNAL_SAFE(0);
return round;
}
-/*d */
-/* The fesetround function establishes the rounding direction represented by its */
-/* argument round. If the argument is not equal to the value of a rounding direction macro, */
-/* the rounding direction is not changed. */
-/* d*/
+/*
+The fesetround function establishes the rounding direction represented by its
+argument round. If the argument is not equal to the value of a rounding direction macro,
+the rounding direction is not changed.
+*/
-/*r */
-/* The fesetround function returns a zero value if and only if the argument is equal to a */
-/* rounding direction macro (that is, if and only if the requested rounding direction was */
-/* established). */
-/* r*/
+/*
+The fesetround function returns a zero value if and only if the argument is equal to a
+rounding direction macro (that is, if and only if the requested rounding direction was
+established).
+r*/
/*
STDC(199901)
LINK(m)
*/
-
-
-#endif