aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/ldbl-96/s_ilogbl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_ilogbl.c b/sysdeps/ieee754/ldbl-96/s_ilogbl.c
index 6b781011c7..d11e4c2f21 100644
--- a/sysdeps/ieee754/ldbl-96/s_ilogbl.c
+++ b/sysdeps/ieee754/ldbl-96/s_ilogbl.c
@@ -56,7 +56,7 @@ static char rcsid[] = "$NetBSD: $";
else if (FP_ILOGBNAN != INT_MAX)
{
GET_LDOUBLE_WORDS(es,hx,lx,x);
- if ((hx & 0x7fffffff|lx) == 0)
+ if (((hx & 0x7fffffff)|lx) == 0)
/* ISO C99 requires ilogbl(+-Inf) == INT_MAX. */
return INT_MAX;
}