Move misplaced llround test and add lround test from bug 2561.

This commit is contained in:
Joseph Myers 2012-02-29 01:55:42 +00:00
parent 43be4ca2bb
commit 169d7f11ad
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2012-02-29 Joseph Myers <joseph@codesourcery.com>
* math/libm-test.inc (llround_test): Move one test from
lround_test. Use TEST_f_L in moved test.
(lround_test): Move misplaced test to llround_test. Add testcase
from bug 2561.
2012-02-28 Ulrich Drepper <drepper@gmail.com>
* sysdeps/x86_64/fpu/e_expf.S: New file.

View File

@ -4395,7 +4395,7 @@ lround_test (void)
TEST_f_l (lround, 1073741824.01, 1073741824);
# if LONG_MAX > 281474976710656
TEST_f_l (lround, 281474976710656.025, 281474976710656);
TEST_f_l (llround, -3.65309740835E17, -365309740835000000);
TEST_f_l (lround, 18014398509481974, 18014398509481974);
# endif
TEST_f_l (lround, 2097152.5, 2097153);
TEST_f_l (lround, -2097152.5, -2097153);
@ -4438,6 +4438,7 @@ llround_test (void)
TEST_f_L (llround, -2097152.5, -2097153);
TEST_f_L (llround, 34359738368.5, 34359738369ll);
TEST_f_L (llround, -34359738368.5, -34359738369ll);
TEST_f_L (llround, -3.65309740835E17, -365309740835000000LL);
#endif
/* Test boundary conditions. */