diff options
Diffstat (limited to 'libquadmath/math/signbitq.c')
-rw-r--r-- | libquadmath/math/signbitq.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/libquadmath/math/signbitq.c b/libquadmath/math/signbitq.c new file mode 100644 index 000000000..2ddab8667 --- /dev/null +++ b/libquadmath/math/signbitq.c @@ -0,0 +1,10 @@ +#include "quadmath-imp.h" + + +int +signbitq (const __float128 x) +{ + ieee854_float128 f; + f.value = x; + return f.ieee.negative; +} |