From 6432a5409c9faf2a2f562b782d40432d73cda4d8 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Tue, 17 Dec 2013 13:43:40 +0000 Subject: Fix dbl-64 hypot spurious underflows (bug 16314). --- sysdeps/ieee754/dbl-64/e_hypot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sysdeps/ieee754/dbl-64/e_hypot.c') 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 */ { -- cgit 1.4.1