mirror of git://sourceware.org/git/glibc.git
(tanh_test): Update constant to work with 128-bit long doubles.
This commit is contained in:
parent
20f421e1a1
commit
30e5dcb7f7
|
|
@ -3975,8 +3975,8 @@ tanh_test (void)
|
||||||
TEST_f_f (tanh, 1.0L, 0.7615941559557648881194582826047935904L);
|
TEST_f_f (tanh, 1.0L, 0.7615941559557648881194582826047935904L);
|
||||||
TEST_f_f (tanh, -1.0L, -0.7615941559557648881194582826047935904L);
|
TEST_f_f (tanh, -1.0L, -0.7615941559557648881194582826047935904L);
|
||||||
|
|
||||||
/* 2^-56 */
|
/* 2^-57 */
|
||||||
TEST_f_f (tanh, 1.387778780781445675529539585113525390625e-17L, 1.387778780781445675529539585113525390625e-17L);
|
TEST_f_f (tanh, 6.938893903907228377647697925567626953125e-18L,6.938893903907228377647697925567626953125e-18L);
|
||||||
|
|
||||||
END (tanh);
|
END (tanh);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue