about summary refs log tree commit diff
path: root/sysdeps/ieee754
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2012-11-22 14:58:41 +0000
committerJoseph Myers <joseph@codesourcery.com>2012-11-22 14:58:41 +0000
commit1468ded38eb043991b3b0198ab55cacffb46ec04 (patch)
tree7ed374414c31cb98f23d12e93c118287bb81f300 /sysdeps/ieee754
parent8e27e3cc453849158e069dbed0eea7b8113ab8ff (diff)
downloadglibc-1468ded38eb043991b3b0198ab55cacffb46ec04.tar.gz
glibc-1468ded38eb043991b3b0198ab55cacffb46ec04.tar.xz
glibc-1468ded38eb043991b3b0198ab55cacffb46ec04.zip
Fix ldbl-128ibm hypotl internal underflows (bug 14869).
Diffstat (limited to 'sysdeps/ieee754')
-rw-r--r--sysdeps/ieee754/ldbl-128ibm/e_hypotl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/ieee754/ldbl-128ibm/e_hypotl.c b/sysdeps/ieee754/ldbl-128ibm/e_hypotl.c
index ce21194cd5..768bd3b06c 100644
--- a/sysdeps/ieee754/ldbl-128ibm/e_hypotl.c
+++ b/sysdeps/ieee754/ldbl-128ibm/e_hypotl.c
@@ -83,7 +83,7 @@ __ieee754_hypotl(long double x, long double y)
 	   k += 600;
 	   kld = two600;
 	}
-	if(hb < 0x20b0000000000000LL) {	/* b < 2**-500 */
+	if(hb < 0x23d0000000000000LL) {	/* b < 2**-450 */
 	    if(hb <= 0x000fffffffffffffLL) {	/* subnormal b or 0 */
 		u_int64_t low;
 		GET_LDOUBLE_LSW64(low,b);