about summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-05-14 09:25:37 +0000
committerAndreas Jaeger <aj@suse.de>2001-05-14 09:25:37 +0000
commit3eab00bd35f32df69b569549e92989d67ff1d9d8 (patch)
tree3f8fe4557ee067e0e50e5501b7943b6ee9eb309c /math/libm-test.inc
parent9c3bb910f26de0d56bb5d734cec58c6329375079 (diff)
downloadglibc-3eab00bd35f32df69b569549e92989d67ff1d9d8.tar.gz
glibc-3eab00bd35f32df69b569549e92989d67ff1d9d8.tar.xz
glibc-3eab00bd35f32df69b569549e92989d67ff1d9d8.zip
Update.
2001-05-14  Andreas Jaeger  <aj@suse.de>

	* 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 <moshier@mediaone.net>

	* sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Fix sign test.

2001-05-11  Jakub Jelinek  <jakub@redhat.com>

	* 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  <aj@suse.de>

	* manual/install.texi (Linux): Clarify that Linux 2.2 is minimal
	requirement.
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 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);
 }