aboutsummaryrefslogtreecommitdiff
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.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/amd64/gen/fpgetround.c b/lib/libc/amd64/gen/fpgetround.c
new file mode 100644
index 000000000000..6d79bb9d30c6
--- /dev/null
+++ b/lib/libc/amd64/gen/fpgetround.c
@@ -0,0 +1,7 @@
+#define __IEEEFP_NOINLINES__ 1
+#include <ieeefp.h>
+
+fp_rnd_t fpgetround(void)
+{
+ return __fpgetround();
+}