Do not allow overflow exception on exp underflow test (bug 13705).

This commit is contained in:
Joseph Myers 2012-04-08 22:46:49 +00:00
parent f77f123206
commit d2de7579f2
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2012-04-08 Joseph Myers <joseph@codesourcery.com>
[BZ #13705]
* math/libm-test.inc (exp_test): Do not allow overflow exception
on underflow test.
2012-04-08 Aurelien Jarno <aurelien@aurel32.net> 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
[BZ #13705] [BZ #13705]

View File

@ -3003,8 +3003,7 @@ exp_test (void)
/* Bug 13922: OVERFLOW exception may be missing. */ /* Bug 13922: OVERFLOW exception may be missing. */
TEST_f_f (exp, max_value, plus_infty, OVERFLOW_EXCEPTION_OK); TEST_f_f (exp, max_value, plus_infty, OVERFLOW_EXCEPTION_OK);
/* Bug 13705: spurious OVERFLOW exception may be present. */ TEST_f_f (exp, -max_value, 0);
TEST_f_f (exp, -max_value, 0, OVERFLOW_EXCEPTION_OK);
END (exp); END (exp);
} }