aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog7
-rw-r--r--math/libm-test.inc3
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index eecc50b..c665b94 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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.
diff --git a/math/libm-test.inc b/math/libm-test.inc
index 1016753..54d1aca 100644
--- a/math/libm-test.inc
+++ b/math/libm-test.inc
@@ -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. */