mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-26 15:00:06 +00:00
Do not allow overflow exception on exp underflow test (bug 13705).
This commit is contained in:
parent
f77f123206
commit
d2de7579f2
@ -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]
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user