aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754/ldbl-96/s_ilogbl.c
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-11-22 12:36:34 +0000
committerAndreas Jaeger <aj@suse.de>2001-11-22 12:36:34 +0000
commit91eaf586e5d590a8f72a87c4c11a989fc0464465 (patch)
tree03be78f2df502da3fbf82a8896b2f4191de5eb95 /sysdeps/ieee754/ldbl-96/s_ilogbl.c
parentd987f926bb6b4a09daacc0fec023cddbf980a754 (diff)
downloadglibc-91eaf586e5d590a8f72a87c4c11a989fc0464465.tar
glibc-91eaf586e5d590a8f72a87c4c11a989fc0464465.tar.gz
glibc-91eaf586e5d590a8f72a87c4c11a989fc0464465.tar.bz2
glibc-91eaf586e5d590a8f72a87c4c11a989fc0464465.zip
Update.
2001-11-22 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-96/s_ilogbl.c (__ilogbl): Add brace to avoid warning.
Diffstat (limited to 'sysdeps/ieee754/ldbl-96/s_ilogbl.c')
-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;
}