summaryrefslogtreecommitdiff
path: root/lib/mlibc/options/ansi/musl-generic-math/__signbit.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/mlibc/options/ansi/musl-generic-math/__signbit.c')
-rw-r--r--lib/mlibc/options/ansi/musl-generic-math/__signbit.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/lib/mlibc/options/ansi/musl-generic-math/__signbit.c b/lib/mlibc/options/ansi/musl-generic-math/__signbit.c
deleted file mode 100644
index e700b6b..0000000
--- a/lib/mlibc/options/ansi/musl-generic-math/__signbit.c
+++ /dev/null
@@ -1,13 +0,0 @@
-#include "libm.h"
-
-// FIXME: macro in math.h
-int __signbit(double x)
-{
- union {
- double d;
- uint64_t i;
- } y = { x };
- return y.i>>63;
-}
-
-