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.c21
1 files changed, 21 insertions, 0 deletions
diff --git a/src/fenv/fegetround.c b/src/fenv/fegetround.c
new file mode 100644
index 00000000..13e5bf34
--- /dev/null
+++ b/src/fenv/fegetround.c
@@ -0,0 +1,21 @@
+#include <fenv.h>
+
+int fegetround(void)
+{
+ 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)
+*/