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.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/fenv/fesetround.c b/src/fenv/fesetround.c
new file mode 100644
index 00000000..d0f50c76
--- /dev/null
+++ b/src/fenv/fesetround.c
@@ -0,0 +1,23 @@
+#include <fenv.h>
+
+int fesetround(int round)
+{
+ 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*/
+
+/*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)
+*/