summaryrefslogtreecommitdiff
path: root/include/math.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/math.h')
-rw-r--r--include/math.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/math.h b/include/math.h
index 6ac91da2..fea34686 100644
--- a/include/math.h
+++ b/include/math.h
@@ -27,7 +27,7 @@ extern "C" {
#define MATH_ERREXCEPT 2
#define math_errhandling 2
-#define FP_ILOGBNAN (-1-(int)(((unsigned)-1)>>1))
+#define FP_ILOGBNAN (-1-0x7fffffff)
#define FP_ILOGB0 FP_ILOGBNAN
#define FP_NAN 0