aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc4
1 files changed, 4 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index be6b1b6..00029ab 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);
}