about summary refs log tree commit diff
path: root/math
diff options
context:
space:
mode:
Diffstat (limited to 'math')
-rw-r--r--math/libm-test.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/math/libm-test.c b/math/libm-test.c
index 49cce03d00..3e5033094c 100644
--- a/math/libm-test.c
+++ b/math/libm-test.c
@@ -5618,7 +5618,7 @@ jn_test (void)
 	     CHOOSE(0, 0, 3e-17));
   check ("jn (10, 0) = 0", FUNC(jn) (10, 0.0), 0.0);
   check_eps ("jn (10, 0.1) = 2.6905...*10^-20", FUNC(jn) (10, 0.1), 0.26905328954342155795e-19,
-	     CHOOSE(0, 2e-35, 2e-27));
+	     CHOOSE(0, 2e-35, 4e-27));
   check_eps ("jn (10, 0.7) = 7.517...*10^-12", FUNC(jn) (10, 0.7), 0.75175911502153953928e-11,
 	     CHOOSE(0, 7e-27, 9e-19));
   check_eps ("jn (10, 1.0) = 2.630...*10^-11", FUNC(jn) (10, 1.0), 0.26306151236874532070e-9,
@@ -5682,7 +5682,8 @@ y1_test (void)
 	     CHOOSE(0, 3e-16, 0));
   check_eps ("y1 (1.0) = -0.78121...", FUNC(y1) (1.0), -0.78121282130028871655,
 	     CHOOSE(0, 2e-16, 0));
-  check ("y1 (1.5) = -0.41230...", FUNC(y1) (1.5), -0.41230862697391129595);
+  check_eps ("y1 (1.5) = -0.41230...", FUNC(y1) (1.5), -0.41230862697391129595,
+	     CHOOSE (0, 0, 3e-8));
   check_eps ("y1 (2.0) = -0.10703...", FUNC(y1) (2.0), -0.10703243154093754689,
 	     CHOOSE(0, 2e-17, 1.5e-8));
   check_eps ("y1 (8.0) = -0.15806...", FUNC(y1) (8.0), -0.15806046173124749426,
@@ -5735,7 +5736,8 @@ yn_test (void)
 	     CHOOSE(0, 3e-16, 0));
   check_eps ("yn (1, 1.0) = -0.78121...", FUNC(yn) (1, 1.0), -0.78121282130028871655,
 	     CHOOSE(0, 2e-16, 0));
-  check ("yn (1, 1.5) = -0.41230...", FUNC(yn) (1, 1.5), -0.41230862697391129595);
+  check_eps ("yn (1, 1.5) = -0.41230...", FUNC(yn) (1, 1.5), -0.41230862697391129595,
+	     CHOOSE (0, 0, 3e-8));
   check_eps ("yn (1, 2.0) = -0.10703...", FUNC(yn) (1, 2.0), -0.10703243154093754689,
 	     CHOOSE(0, 2e-17, 2e-8));
   check_eps ("yn (1, 8.0) = -0.15806...", FUNC(yn) (1, 8.0), -0.15806046173124749426,
@@ -5764,7 +5766,7 @@ yn_test (void)
   check_eps ("yn (10, 0.1) = -1.183...*10^18", FUNC(yn) (10, 0.1), -0.11831335132045197885e19,
 	     CHOOSE(0, 6e2, 2e11));
   check_eps ("yn (10, 0.7) = -4.244...*10^9", FUNC(yn) (10, 0.7), -0.42447194260703866924e10,
-	     CHOOSE(0, 3e-6, 6e2));
+	     CHOOSE(0, 3e-6, 8e2));
   check_eps ("yn (10, 1.0) = -1.216...*10^8", FUNC(yn) (10, 1.0), -0.12161801427868918929e9,
 	     CHOOSE(0, 0, 9));
   check_eps ("yn (10, 2.0) = -129184.5...", FUNC(yn) (10, 2.0), -129184.54220803928264,