1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-29 11:41:21 +03:00
* sysdeps/i386/fpu/libm-test-ulps: Add ulps for new exp tests.

	* math/libm-test.inc (exp_test): Add some more tests.
	(pow_test): Run double only test also for long double.

	* math/test-ldouble.c (TEST_LDOUBLE): Define.
	* math/test-ildoubl.c (TEST_LDOUBLE): Likewise.
This commit is contained in:
Andreas Jaeger
2001-05-07 21:29:40 +00:00
parent 8ee20e93a0
commit 4c95adde8b
5 changed files with 26 additions and 6 deletions

View File

@ -2372,7 +2372,11 @@ exp_test (void)
TEST_f_f (exp, 2, M_E2l);
TEST_f_f (exp, 3, M_E3l);
TEST_f_f (exp, 0.7L, 2.0137527074704765216L);
TEST_f_f (exp, 50.0L, 5184705528587072464087.45332293348538L);
#ifdef TEST_LDOUBLE
/* The result can only be represented in long double. */
TEST_f_f (exp, 1000.0L, 0.197007111401704699388887935224332313e435L);
#endif
END (exp);
}
@ -3560,7 +3564,7 @@ pow_test (void)
TEST_ff_f (pow, 0.7L, 1.2L, 0.65180494056638638188L);
#ifdef TEST_DOUBLE
#if defined TEST_DOUBLE || defined TEST_LDOUBLE
TEST_ff_f (pow, -7.49321e+133, -9.80818e+16, 0);
#endif