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