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