diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/math/libm-test.c b/math/libm-test.c index d0b0c76..ead8078 100644 --- a/math/libm-test.c +++ b/math/libm-test.c @@ -3393,7 +3393,7 @@ ccosh_test (void) check_eps ("real(ccosh(0.7 + i 1.2)) == 0.45482...", __real__ result, 0.4548202223691477654L, CHOOSE (5e-17L, 6e-17, 9e-8)); check_eps ("imag(ccosh(0.7 + i 1.2)) == 0.70702...", __imag__ result, - 0.7070296600921537682L, CHOOSE (7e-17L, 2e-16, 0)); + 0.7070296600921537682L, CHOOSE (7e-17L, 2e-16, 6e-8)); result = FUNC(ccosh) (BUILD_COMPLEX (-2, -3)); check_eps ("real(ccosh(-2 - i 3)) == -3.72454...", __real__ result, @@ -5634,7 +5634,7 @@ jn_test (void) check_eps ("jn (10, 1.0) = 2.630...*10^-11", FUNC(jn) (10, 1.0), 0.26306151236874532070e-9, CHOOSE(0, 0, 5.6e-17)); check_eps ("jn (10, 2.0) = 2.515...*10^-7", FUNC(jn) (10, 2.0), 0.25153862827167367096e-6, - CHOOSE(0, 2e-22, 5.7e-14)); + CHOOSE(0, 2e-22, 9e-14)); check_eps ("jn (10, 10.0) = 0.20748...", FUNC(jn) (10, 10.0), 0.20748610663335885770, CHOOSE(0, 2e-16, 1.4e-7)); } @@ -5762,7 +5762,7 @@ yn_test (void) check_eps ("yn (3, 0.1) = -5099.3...", FUNC(yn) (3, 0.1), -5099.3323786129048894, CHOOSE(0, 1e-12, 9.8e-4)); check_eps ("yn (3, 0.7) = -15.819...", FUNC(yn) (3, 0.7), -15.819479052819633505, - CHOOSE(0, 4e-15, 9.6e-7)); + CHOOSE(0, 6e-15, 9.6e-7)); check ("yn (3, 1.0) = -5.8215...", FUNC(yn) (3, 1.0), -5.8215176059647288478); check_eps ("yn (3, 2.0) = -1.1277...", FUNC(yn) (3, 2.0), -1.1277837768404277861, CHOOSE(0, 3e-16, 1.2e-7)); @@ -5778,9 +5778,9 @@ yn_test (void) check_eps ("yn (10, 0.7) = -4.244...*10^9", FUNC(yn) (10, 0.7), -0.42447194260703866924e10, 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)); + CHOOSE(0, 2e-8, 20)); check_eps ("yn (10, 2.0) = -129184.5...", FUNC(yn) (10, 2.0), -129184.54220803928264, - CHOOSE(0, 3e-11, 8e-3)); + CHOOSE(0, 3e-11, 3e-2)); check_eps ("yn (10, 10.0) = -0.35981...", FUNC(yn) (10, 10.0), -0.35981415218340272205, CHOOSE(0, 6e-17, 3e-8)); |