diff options
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 1b5d1c7e42..cd627cd829 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -3196,12 +3196,14 @@ exp10_test (void) TEST_f_f (exp10, nan_value, nan_value); TEST_f_f (exp10, 3, 1000); TEST_f_f (exp10, -1, 0.1L); +#ifdef TEST_FLOAT /* Bug 13884: inaccurate results except for float. */ + TEST_f_f (exp10, 36, 1.0e36L); +#endif TEST_f_f (exp10, 1e6, plus_infty, OVERFLOW_EXCEPTION); TEST_f_f (exp10, -1e6, 0); #ifndef TEST_LDOUBLE /* Bug 13914: spurious exceptions. */ TEST_f_f (exp10, max_value, plus_infty, OVERFLOW_EXCEPTION); - /* Bug 13924: spurious OVERFLOW exception may be present. */ - TEST_f_f (exp10, -max_value, 0, OVERFLOW_EXCEPTION_OK); + TEST_f_f (exp10, -max_value, 0); #endif TEST_f_f (exp10, 0.75L, 5.62341325190349080394951039776481231L); |