]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(tanh_test): Update constant to work with 128-bit long doubles.
authorAndreas Jaeger <aj@suse.de>
Tue, 19 Jun 2001 14:01:17 +0000 (14:01 +0000)
committerAndreas Jaeger <aj@suse.de>
Tue, 19 Jun 2001 14:01:17 +0000 (14:01 +0000)
math/libm-test.inc

index 2c3a3f6ffafd35d5e8eb0069a45d008bef14c507..ca09f01b11af5ca2a3ee4cf4b92bd93a2efe816b 100644 (file)
@@ -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);
 }