From 20f421e1a1bdc4eb203198825120975a52dd1e30 Mon Sep 17 00:00:00 2001 From: Andreas Jaeger Date: Tue, 19 Jun 2001 12:41:02 +0000 Subject: Update 2001-06-19 Andreas Jaeger * 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 . --- math/libm-test.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'math') diff --git a/math/libm-test.inc b/math/libm-test.inc index 481c395643..2c3a3f6ffa 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); } -- cgit v1.2.3