summaryrefslogtreecommitdiff
path: root/lib/libc/fenv
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libc/fenv')
-rw-r--r--lib/libc/fenv/Kbuild1
-rw-r--r--lib/libc/fenv/fesetround.c8
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/libc/fenv/Kbuild b/lib/libc/fenv/Kbuild
new file mode 100644
index 00000000..f20c5a3f
--- /dev/null
+++ b/lib/libc/fenv/Kbuild
@@ -0,0 +1 @@
+obj-y += fesetround.o
diff --git a/lib/libc/fenv/fesetround.c b/lib/libc/fenv/fesetround.c
new file mode 100644
index 00000000..0c7c6bfe
--- /dev/null
+++ b/lib/libc/fenv/fesetround.c
@@ -0,0 +1,8 @@
+#include <fenv.h>
+
+int __fesetround(int);
+
+int fesetround(int round)
+{
+ return __fesetround(round);
+}