aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-01-20 08:02:49 +0000
committerUlrich Drepper <drepper@redhat.com>2000-01-20 08:02:49 +0000
commit16ac79ca946f05fa5bf25b6ae99f8ae5487f7503 (patch)
treeb34b6a71794724ddef7eff4b25d7f50f0944b5bd /sysdeps/ieee754
parentee00109cd058fe28fec37f558dc673c9b3adc9db (diff)
downloadglibc-16ac79ca946f05fa5bf25b6ae99f8ae5487f7503.zip
glibc-16ac79ca946f05fa5bf25b6ae99f8ae5487f7503.tar.gz
glibc-16ac79ca946f05fa5bf25b6ae99f8ae5487f7503.tar.bz2
Update.
* sysdeps/ieee754/ldbl-96/s_modfl.c: Correct handling of arguments with exponent >31 and < 63 (PR libc/1548).
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/ldbl-96/s_modfl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-96/s_modfl.c b/sysdeps/ieee754/ldbl-96/s_modfl.c
index fb1b3ac..99c0752 100644
--- a/sysdeps/ieee754/ldbl-96/s_modfl.c
+++ b/sysdeps/ieee754/ldbl-96/s_modfl.c
@@ -71,7 +71,7 @@ static long double one = 1.0;
SET_LDOUBLE_WORDS(x,se&0x8000,0,0); /* return +-0 */
return x;
} else { /* fraction part in low x */
- i = ((u_int32_t)(0xffffffff))>>(j0-32);
+ i = ((u_int32_t)(0x7fffffff))>>(j0-32);
if((i1&i)==0) { /* x is integral */
*iptr = x;
SET_LDOUBLE_WORDS(x,se&0x8000,0,0); /* return +-0 */