about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2003-12-28 20:51:48 +0000
committerAndreas Jaeger <aj@suse.de>2003-12-28 20:51:48 +0000
commitcaac9ddbd36cb772b8dcde1e14ee84946b6548ec (patch)
tree628c8500d1315371080733070ddf316d15e593e8 /math
parent1f510b3faa316bf025ce9544fd90ece3549bac05 (diff)
downloadglibc-caac9ddbd36cb772b8dcde1e14ee84946b6548ec.tar.gz
glibc-caac9ddbd36cb772b8dcde1e14ee84946b6548ec.tar.xz
glibc-caac9ddbd36cb772b8dcde1e14ee84946b6548ec.zip
(yn_test): Expect invalid exception for negative arguments. (y0_test): Likewise. (y1_test): Likewise.
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 38386c1ed5..e5d0becac7 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -4145,7 +4145,7 @@ y0_test (void)
   /* y0 is the Bessel function of the second kind of order 0 */
   START (y0);
 
-  TEST_f_f (y0, -1.0, minus_infty);
+  TEST_f_f (y0, -1.0, minus_infty, INVALID_EXCEPTION);
   TEST_f_f (y0, 0.0, minus_infty);
   TEST_f_f (y0, nan_value, nan_value);
   TEST_f_f (y0, plus_infty, 0);
@@ -4179,7 +4179,7 @@ y1_test (void)
   /* y1 is the Bessel function of the second kind of order 1 */
   START (y1);
 
-  TEST_f_f (y1, -1.0, minus_infty);
+  TEST_f_f (y1, -1.0, minus_infty, INVALID_EXCEPTION);
   TEST_f_f (y1, 0.0, minus_infty);
   TEST_f_f (y1, plus_infty, 0);
   TEST_f_f (y1, nan_value, nan_value);
@@ -4214,7 +4214,7 @@ yn_test (void)
   START (yn);
 
   /* yn (0, x) == y0 (x)  */
-  TEST_ff_f (yn, 0, -1.0, minus_infty);
+  TEST_ff_f (yn, 0, -1.0, minus_infty, INVALID_EXCEPTION);
   TEST_ff_f (yn, 0, 0.0, minus_infty);
   TEST_ff_f (yn, 0, nan_value, nan_value);
   TEST_ff_f (yn, 0, plus_infty, 0);
@@ -4228,7 +4228,7 @@ yn_test (void)
   TEST_ff_f (yn, 0, 10.0, 0.0556711672835993914244598774101900481L);
 
   /* yn (1, x) == y1 (x)  */
-  TEST_ff_f (yn, 1, -1.0, minus_infty);
+  TEST_ff_f (yn, 1, -1.0, minus_infty, INVALID_EXCEPTION);
   TEST_ff_f (yn, 1, 0.0, minus_infty);
   TEST_ff_f (yn, 1, plus_infty, 0);
   TEST_ff_f (yn, 1, nan_value, nan_value);