aboutsummaryrefslogtreecommitdiff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-06-19 12:41:02 +0000
committerAndreas Jaeger <aj@suse.de>2001-06-19 12:41:02 +0000
commit20f421e1a1bdc4eb203198825120975a52dd1e30 (patch)
treeea998677a162a1ef2bdbe815047feccfcc5ce884 /math/libm-test.inc
parentba0fd1ba028fb241260e80b4d1f669944eae29e0 (diff)
downloadglibc-20f421e1a1bdc4eb203198825120975a52dd1e30.zip
glibc-20f421e1a1bdc4eb203198825120975a52dd1e30.tar.gz
glibc-20f421e1a1bdc4eb203198825120975a52dd1e30.tar.bz2
Update
2001-06-19 Andreas Jaeger <aj@suse.de> * sysdeps/ieee754/ldbl-128/s_tanhl.c: New file. * math/libm-test.inc (tanh_test): Test for 2^-56. * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Make sure result equals argument when x < 2^-55. Patches by Stephen L. Moshier <moshier@na-net.ornl.gov>.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 481c395..2c3a3f6 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -3975,6 +3975,9 @@ tanh_test (void)
TEST_f_f (tanh, 1.0L, 0.7615941559557648881194582826047935904L);
TEST_f_f (tanh, -1.0L, -0.7615941559557648881194582826047935904L);
+ /* 2^-56 */
+ TEST_f_f (tanh, 1.387778780781445675529539585113525390625e-17L, 1.387778780781445675529539585113525390625e-17L);
+
END (tanh);
}