diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-05-24 20:52:55 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-05-24 20:52:55 +0000 |
commit | 0323d08657f111267efa47bd448fbf6cd76befe8 (patch) | |
tree | 7ebd164c7460e42866c7fe5e31ab9c4b556f23ab /sysdeps | |
parent | dd4259b9f76fa8fd3690a91608d2e3a94e2d6713 (diff) | |
download | glibc-0323d08657f111267efa47bd448fbf6cd76befe8.zip glibc-0323d08657f111267efa47bd448fbf6cd76befe8.tar.gz glibc-0323d08657f111267efa47bd448fbf6cd76befe8.tar.bz2 |
Fix ldbl-96 hypotl of subnormals (bug 15529).
Diffstat (limited to 'sysdeps')
-rw-r--r-- | sysdeps/ieee754/ldbl-96/e_hypotl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-96/e_hypotl.c b/sysdeps/ieee754/ldbl-96/e_hypotl.c index 306f929..7895488 100644 --- a/sysdeps/ieee754/ldbl-96/e_hypotl.c +++ b/sysdeps/ieee754/ldbl-96/e_hypotl.c @@ -85,7 +85,7 @@ long double __ieee754_hypotl(long double x, long double y) u_int32_t high,low; GET_LDOUBLE_WORDS(exp,high,low,b); if((high|low)==0) return a; - SET_LDOUBLE_WORDS(t1, 0x7ffd, 0, 0); /* t1=2^16382 */ + SET_LDOUBLE_WORDS(t1, 0x7ffd, 0x80000000, 0); /* t1=2^16382 */ b *= t1; a *= t1; k -= 16382; |