From 1468ded38eb043991b3b0198ab55cacffb46ec04 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 22 Nov 2012 14:58:41 +0000 Subject: Fix ldbl-128ibm hypotl internal underflows (bug 14869). --- math/libm-test.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'math') diff --git a/math/libm-test.inc b/math/libm-test.inc index 21f4646..b96f1bf 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -5731,6 +5731,9 @@ hypot_test (void) TEST_ff_f (hypot, 0.75L, 1.25L, 1.45773797371132511771853821938639577L); TEST_ff_f (hypot, 1.0L, 0x1p-61L, 1.0L); +#if defined TEST_LDOUBLE && LDBL_MANT_DIG >= 106 + TEST_ff_f (hypot, 0x1.23456789abcdef0123456789ab8p-500L, 0x1.23456789abcdef0123456789ab8p-500L, 4.9155782399407039128612180934736799735113e-151L); +#endif #if !(defined TEST_FLOAT && defined TEST_INLINE) TEST_ff_f (hypot, 0x3p125L, 0x4p125L, 0x5p125L); -- cgit v1.1