From 0a42601f272ea962b200d452a54e0ca374163f60 Mon Sep 17 00:00:00 2001 From: Joseph Myers Date: Thu, 22 Nov 2012 19:56:47 +0000 Subject: Fix ldbl-128ibm atanl spurious underflows (bug 14871). --- math/libm-test.inc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'math') 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); } -- cgit v1.1