about summary refs log tree commit diff
path: root/math/libm-test.inc
diff options
context:
space:
mode:
authorAndreas Jaeger <aj@suse.de>2001-06-19 14:01:17 +0000
committerAndreas Jaeger <aj@suse.de>2001-06-19 14:01:17 +0000
commit30e5dcb7f7ad9a5d204e5361f4ee87e58a65d4fc (patch)
treef3d8746a1415f496eef55a2a87bc49c48e191d56 /math/libm-test.inc
parent20f421e1a1bdc4eb203198825120975a52dd1e30 (diff)
downloadglibc-30e5dcb7f7ad9a5d204e5361f4ee87e58a65d4fc.tar.gz
glibc-30e5dcb7f7ad9a5d204e5361f4ee87e58a65d4fc.tar.xz
glibc-30e5dcb7f7ad9a5d204e5361f4ee87e58a65d4fc.zip
(tanh_test): Update constant to work with 128-bit long doubles.
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r--math/libm-test.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 2c3a3f6ffa..ca09f01b11 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -3889,7 +3889,7 @@ sinh_test (void)
 
   TEST_f_f (sinh, 0.7L, 0.75858370183953350346L);
   TEST_f_f (sinh, 0x8p-32L, 1.86264514923095703232705808926175479e-9L);
-  
+
   END (sinh);
 }
 
@@ -3975,9 +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);
-  
+  /* 2^-57  */
+  TEST_f_f (tanh, 6.938893903907228377647697925567626953125e-18L,6.938893903907228377647697925567626953125e-18L);
+
   END (tanh);
 }