diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-04-09 22:32:45 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-04-09 22:32:45 +0000 |
commit | 8f9a2faee0619ed5fad7b9c54b64f866b0264bde (patch) | |
tree | c5545fa72a99dcee226d2c4ffc3adca24e1a2124 /math | |
parent | bcc8d6617ba029c288fff9680a02b9a3b1caa9c0 (diff) | |
download | glibc-8f9a2faee0619ed5fad7b9c54b64f866b0264bde.tar.gz glibc-8f9a2faee0619ed5fad7b9c54b64f866b0264bde.tar.xz glibc-8f9a2faee0619ed5fad7b9c54b64f866b0264bde.zip |
Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index a551b9f3f4..2809d57d09 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -5682,8 +5682,7 @@ pow_test (void) TEST_ff_f (pow, 0x1p72L, 0x1p72L, plus_infty, OVERFLOW_EXCEPTION); TEST_ff_f (pow, 10, -0x1p72L, 0); TEST_ff_f (pow, max_value, max_value, plus_infty, OVERFLOW_EXCEPTION); - /* Bug 13872: spurious OVERFLOW exception may be present. */ - TEST_ff_f (pow, 10, -max_value, 0, OVERFLOW_EXCEPTION_OK); + TEST_ff_f (pow, 10, -max_value, 0); TEST_ff_f (pow, 0, 1, 0); TEST_ff_f (pow, 0, 11, 0); @@ -5997,8 +5996,7 @@ pow_test (void) TEST_ff_f (pow, -max_value, -0x1.ffffffffffffffffffffffffffffp+113L, plus_zero); # endif #endif - /* Bug 13872: spurious OVERFLOW exception may be present. */ - TEST_ff_f (pow, -max_value, -max_value, plus_zero, OVERFLOW_EXCEPTION_OK); + TEST_ff_f (pow, -max_value, -max_value, plus_zero); TEST_ff_f (pow, -max_value, 0xffffff, minus_infty, OVERFLOW_EXCEPTION); TEST_ff_f (pow, -max_value, 0x1fffffe, plus_infty, OVERFLOW_EXCEPTION); @@ -6122,8 +6120,7 @@ pow_test (void) TEST_ff_f (pow, -min_value, 0x1.ffffffffffffffffffffffffffffp+113L, plus_zero); # endif #endif - /* Bug 13872: spurious OVERFLOW exception may be present. */ - TEST_ff_f (pow, -min_value, max_value, plus_zero, OVERFLOW_EXCEPTION_OK); + TEST_ff_f (pow, -min_value, max_value, plus_zero); #ifndef TEST_LDOUBLE /* Bug 13881. */ TEST_ff_f (pow, 0x0.ffffffp0, 10, 0.999999403953712118183885036774764444747L); |