about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-12-17 13:43:40 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-12-17 13:43:40 +0000
commit6432a5409c9faf2a2f562b782d40432d73cda4d8 (patch)
tree225ea2c6409bd0c1457f89beb60e22f91ab3bf8c /sysdeps/ieee754
parentc88769dda4199d15267259fd3c9b986e6690a901 (diff)
downloadglibc-6432a5409c9faf2a2f562b782d40432d73cda4d8.tar.gz
glibc-6432a5409c9faf2a2f562b782d40432d73cda4d8.tar.xz
glibc-6432a5409c9faf2a2f562b782d40432d73cda4d8.zip
Fix dbl-64 hypot spurious underflows (bug 16314).
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/dbl-64/e_hypot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/dbl-64/e_hypot.c b/sysdeps/ieee754/dbl-64/e_hypot.c
index 500658d076..88242bc4f6 100644
--- a/sysdeps/ieee754/dbl-64/e_hypot.c
+++ b/sysdeps/ieee754/dbl-64/e_hypot.c
@@ -89,7 +89,7 @@ __ieee754_hypot (double x, double y)
       SET_HIGH_WORD (a, ha);
       SET_HIGH_WORD (b, hb);
     }
-  if (__builtin_expect (hb < 0x20b00000, 0))            /* b < 2**-500 */
+  if (__builtin_expect (hb < 0x23d00000, 0))            /* b < 2**-450 */
     {
       if (hb <= 0x000fffff)             /* subnormal b or 0 */
 	{