diff options
author | Joseph Myers <joseph@codesourcery.com> | 2012-02-29 01:55:42 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2012-02-29 01:55:42 +0000 |
commit | 169d7f11ad61038cefb242ff978684667a0b5c86 (patch) | |
tree | 5d2dc78684701242d938cdb4a6585ee60135dbbe /math | |
parent | 43be4ca2bb217f258a4d23d4be1d3d1378ffe11b (diff) | |
download | glibc-169d7f11ad61038cefb242ff978684667a0b5c86.tar glibc-169d7f11ad61038cefb242ff978684667a0b5c86.tar.gz glibc-169d7f11ad61038cefb242ff978684667a0b5c86.tar.bz2 glibc-169d7f11ad61038cefb242ff978684667a0b5c86.zip |
Move misplaced llround test and add lround test from bug 2561.
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index 1016753c78..54d1aca7d5 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. */ |