From caac9ddbd36cb772b8dcde1e14ee84946b6548ec Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Sun, 28 Dec 2003 20:51:48 +0000 Subject: (yn_test): Expect invalid exception for negative arguments. (y0_test): Likewise. (y1_test): Likewise. --- math/libm-test.inc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/math/libm-test.inc b/math/libm-test.inc index 38386c1..e5d0bec 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); -- cgit v1.1