diff options
Diffstat (limited to 'pl/math/tanhf_2u6.c')
-rw-r--r-- | pl/math/tanhf_2u6.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pl/math/tanhf_2u6.c b/pl/math/tanhf_2u6.c index e6cbbd0..745e5e3 100644 --- a/pl/math/tanhf_2u6.c +++ b/pl/math/tanhf_2u6.c @@ -83,3 +83,9 @@ tanhf (float x) PL_SIG (S, F, 1, tanh, -10.0, 10.0) PL_TEST_ULP (tanhf, 2.09) +PL_TEST_INTERVAL (tanhf, 0, 0x1p-23, 1000) +PL_TEST_INTERVAL (tanhf, -0, -0x1p-23, 1000) +PL_TEST_INTERVAL (tanhf, 0x1p-23, 0x1.205966p+3, 100000) +PL_TEST_INTERVAL (tanhf, -0x1p-23, -0x1.205966p+3, 100000) +PL_TEST_INTERVAL (tanhf, 0x1.205966p+3, inf, 100) +PL_TEST_INTERVAL (tanhf, -0x1.205966p+3, -inf, 100) |