about summary refs log tree commit diff
path: root/sysdeps/generic/mathbits.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/mathbits.h')
-rw-r--r--sysdeps/generic/mathbits.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sysdeps/generic/mathbits.h b/sysdeps/generic/mathbits.h
index e4db3dcf19..b14b52d901 100644
--- a/sysdeps/generic/mathbits.h
+++ b/sysdeps/generic/mathbits.h
@@ -32,4 +32,9 @@ typedef double double_t;	/* `double' expressions are evaluated as
 /* Define `INFINITY' as value of type `float_t'.  */
 #define INFINITY	HUGE_VAL
 
+
+/* The values returned by `ilogb' for 0 and NaN respectively.  */
+#define FP_ILOGB0	0x80000001
+#define FP_ILOGBNAN	0x7fffffff
+
 #endif /* mathbits.h */