diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 19:56:47 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-11-22 19:56:47 +0000 |
commit | 0a42601f272ea962b200d452a54e0ca374163f60 (patch) | |
tree | 79f2d88d56d8c44a291ac0e235ace15b8a3cfe6d /math/libm-test.inc | |
parent | 79c9b9feb45d175d4a394edd9ecf89cde97890c4 (diff) | |
download | glibc-0a42601f272ea962b200d452a54e0ca374163f60.zip glibc-0a42601f272ea962b200d452a54e0ca374163f60.tar.gz glibc-0a42601f272ea962b200d452a54e0ca374163f60.tar.bz2 |
Fix ldbl-128ibm atanl spurious underflows (bug 14871).
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index b96f1bf..cae2de4 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -1195,6 +1195,14 @@ atan_test (void) TEST_f_f (atan, 0.75L, 0.643501108793284386802809228717322638L); + TEST_f_f (atan, 0x1p-100L, 0x1p-100L); +#ifndef TEST_FLOAT + TEST_f_f (atan, 0x1p-600L, 0x1p-600L); +#endif +#if defined TEST_LDOUBLE && LDBL_MIN_EXP <= -16381 + TEST_f_f (atan, 0x1p-10000L, 0x1p-10000L); +#endif + END (atan); } |