diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 14:58:41 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 14:58:41 +0000 |
commit | 1468ded38eb043991b3b0198ab55cacffb46ec04 (patch) | |
tree | 7ed374414c31cb98f23d12e93c118287bb81f300 /math/libm-test.inc | |
parent | 8e27e3cc453849158e069dbed0eea7b8113ab8ff (diff) | |
download | glibc-1468ded38eb043991b3b0198ab55cacffb46ec04.tar glibc-1468ded38eb043991b3b0198ab55cacffb46ec04.tar.gz glibc-1468ded38eb043991b3b0198ab55cacffb46ec04.tar.bz2 glibc-1468ded38eb043991b3b0198ab55cacffb46ec04.zip |
Fix ldbl-128ibm hypotl internal underflows (bug 14869).
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 21f46469de..b96f1bf92e 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); |