aboutsummaryrefslogtreecommitdiffstats
path: root/gcc-4.9/libquadmath/math/signbitq.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc-4.9/libquadmath/math/signbitq.c')
-rw-r--r--gcc-4.9/libquadmath/math/signbitq.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/gcc-4.9/libquadmath/math/signbitq.c b/gcc-4.9/libquadmath/math/signbitq.c
new file mode 100644
index 000000000..2ddab8667
--- /dev/null
+++ b/gcc-4.9/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;
+}