mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
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>.
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user