diff options
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index be6b1b6890..00029ab585 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -3954,6 +3954,10 @@ tanh_test (void) TEST_f_f (tanh, nan_value, nan_value); TEST_f_f (tanh, 0.7L, 0.60436777711716349631L); + TEST_f_f (tanh, -0.7L, -0.60436777711716349631L); + + TEST_f_f (tanh, 1.0L, 0.7615941559557648881194582826047935904L); + TEST_f_f (tanh, -1.0L, -0.7615941559557648881194582826047935904L); END (tanh); } |