aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-02-18 19:49:40 +0000
committerUlrich Drepper <drepper@redhat.com>2001-02-18 19:49:40 +0000
commit3667c08816a6e43e2d41f6bcc58f17ad4f86b911 (patch)
treee4d284d54dfac5a72484a21be7b02608a0c86571
parentc967ec3efdcdabf47524481dae084c847afae56e (diff)
downloadglibc-3667c08816a6e43e2d41f6bcc58f17ad4f86b911.zip
glibc-3667c08816a6e43e2d41f6bcc58f17ad4f86b911.tar.gz
glibc-3667c08816a6e43e2d41f6bcc58f17ad4f86b911.tar.bz2
(scalb_test): Require invalid exception being raised for invalid parameters.
-rw-r--r--math/libm-test.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 3928f41..176b284 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);