Fixed gcc warning which was caused by fixing clang warning, no Issue

This commit is contained in:
Ingo
2014-03-20 20:33:41 +01:00
parent f75ac347ea
commit 5118a0a094

View File

@@ -75,7 +75,7 @@ __inline int ilogbp1(double d) {
__inline int xilogb(double d) {
int e = ilogbp1(xfabs(d)) - 1;
e = d == 0 ? -2147483648 : e;
e = d == 0 ? (-2147483647 - 1) : e;
e = d == INFINITY || d == -INFINITY ? 2147483647 : e;
return e;
}