summaryrefslogtreecommitdiffstats
path: root/lib/libc/amd64/gen/fpsetround.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/amd64/gen/fpsetround.c')
-rw-r--r--lib/libc/amd64/gen/fpsetround.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/libc/amd64/gen/fpsetround.c b/lib/libc/amd64/gen/fpsetround.c
new file mode 100644
index 0000000..6f13367
--- /dev/null
+++ b/lib/libc/amd64/gen/fpsetround.c
@@ -0,0 +1,8 @@
+/* $FreeBSD$ */
+#define __IEEEFP_NOINLINES__ 1
+#include <ieeefp.h>
+
+fp_rnd_t fpsetround(fp_rnd_t m)
+{
+ return (__fpsetround(m));
+}
OpenPOWER on IntegriCloud