summary refs log tree commit diff
path: root/math
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 /math
parentc967ec3efdcdabf47524481dae084c847afae56e (diff)
downloadglibc-3667c08816a6e43e2d41f6bcc58f17ad4f86b911.tar.gz
glibc-3667c08816a6e43e2d41f6bcc58f17ad4f86b911.tar.xz
glibc-3667c08816a6e43e2d41f6bcc58f17ad4f86b911.zip
(scalb_test): Require invalid exception being raised for invalid parameters.
Diffstat (limited to 'math')
-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 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);