diff options
Diffstat (limited to 'sysdeps/ieee754/dbl-64/s_signbit.c')
-rw-r--r-- | sysdeps/ieee754/dbl-64/s_signbit.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sysdeps/ieee754/dbl-64/s_signbit.c b/sysdeps/ieee754/dbl-64/s_signbit.c index 764f11a..91797ee 100644 --- a/sysdeps/ieee754/dbl-64/s_signbit.c +++ b/sysdeps/ieee754/dbl-64/s_signbit.c @@ -19,13 +19,8 @@ #include <math.h> -#include <math_private.h> - int __signbit (double x) { - int32_t hx; - - GET_HIGH_WORD (hx, x); - return hx & 0x80000000; + return __builtin_signbit (x); } |