From 3eab00bd35f32df69b569549e92989d67ff1d9d8 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Mon, 14 May 2001 09:25:37 +0000 Subject: Update. 2001-05-14 Andreas Jaeger * sysdeps/i386/fpu/libm-test-ulps: Adjust for new tests. * math/libm-test.inc (tanh_test): Add testcases for last tanh bug. 2001-05-14 Stephen L Moshier * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test. 2001-05-11 Jakub Jelinek * posix/regex.c (re_match_2_internal): Swap mbs_offset and csize as well if swapping strings. Make sure stop is not past end of second string. * posix/bug-regex4.c: New test. * posix/Makefile (tests): Add bug-regex4. 2001-05-10 Andreas Jaeger * manual/install.texi (Linux): Clarify that Linux 2.2 is minimal requirement. --- math/libm-test.inc | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'math') 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); } -- cgit v1.1