diff options
author | Ulrich Drepper <drepper@redhat.com> | 2001-02-18 19:49:40 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2001-02-18 19:49:40 +0000 |
commit | 3667c08816a6e43e2d41f6bcc58f17ad4f86b911 (patch) | |
tree | e4d284d54dfac5a72484a21be7b02608a0c86571 /math | |
parent | c967ec3efdcdabf47524481dae084c847afae56e (diff) | |
download | glibc-3667c08816a6e43e2d41f6bcc58f17ad4f86b911.tar.gz |
(scalb_test): Require invalid exception being raised for invalid parameters.
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 3928f412f8..176b284ef9 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -3674,8 +3674,8 @@ scalb_test (void) START (scalb); - TEST_ff_f (scalb, 2.0, 0.5, nan_value); - TEST_ff_f (scalb, 3.0, -2.5, nan_value); + TEST_ff_f (scalb, 2.0, 0.5, nan_value, INVALID_EXCEPTION); + TEST_ff_f (scalb, 3.0, -2.5, nan_value, INVALID_EXCEPTION); TEST_ff_f (scalb, 0, nan_value, nan_value); TEST_ff_f (scalb, 1, nan_value, nan_value); @@ -3710,8 +3710,8 @@ scalb_test (void) TEST_ff_f (scalb, plus_infty, plus_infty, plus_infty); TEST_ff_f (scalb, minus_infty, plus_infty, minus_infty); - TEST_ff_f (scalb, plus_infty, minus_infty, nan_value); - TEST_ff_f (scalb, minus_infty, minus_infty, nan_value); + TEST_ff_f (scalb, plus_infty, minus_infty, nan_value, INVALID_EXCEPTION); + TEST_ff_f (scalb, minus_infty, minus_infty, nan_value, INVALID_EXCEPTION); TEST_ff_f (scalb, nan_value, 1, nan_value); TEST_ff_f (scalb, 1, nan_value, nan_value); |