summaryrefslogtreecommitdiff
path: root/lib/mlibc/options/ansi/musl-generic-math/fabsf.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/ansi/musl-generic-math/fabsf.c')
-rw-r--r--lib/mlibc/options/ansi/musl-generic-math/fabsf.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/lib/mlibc/options/ansi/musl-generic-math/fabsf.c b/lib/mlibc/options/ansi/musl-generic-math/fabsf.c
deleted file mode 100644
index 4efc8d6..0000000
--- a/lib/mlibc/options/ansi/musl-generic-math/fabsf.c
+++ /dev/null
@@ -1,9 +0,0 @@
-#include <math.h>
-#include <stdint.h>
-
-float fabsf(float x)
-{
- union {float f; uint32_t i;} u = {x};
- u.i &= 0x7fffffff;
- return u.f;
-}