summaryrefslogtreecommitdiff
path: root/src/fenv/fegetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/fenv/fegetround.c')
-rw-r--r--src/fenv/fegetround.c17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/fenv/fegetround.c b/src/fenv/fegetround.c
index 39855a99..6aa133b7 100644
--- a/src/fenv/fegetround.c
+++ b/src/fenv/fegetround.c
@@ -1,26 +1,25 @@
-#if 0
-
#include <fenv.h>
+#include "_safety.h"
+
+#undef fegetround
int fegetround(void)
{
+ SIGNAL_SAFE(0);
return 0;
}
-/*d
+/*
The fegetround function gets the current rounding direction.
-d*/
+*/
-/*r
+/*
The fegetround function returns the value of the rounding direction macro
representing the current rounding direction or a negative value if there is no such
rounding direction macro or the current rounding direction is not determinable.
-r*/
+*/
/*
STDC(199901)
LINK(m)
*/
-
-
-#endif