diff options
author | Jakub Jelinek <jakub@redhat.com> | 2008-03-26 11:22:19 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2008-03-26 11:22:19 +0000 |
commit | f23e5ee26d14b7931c65e5df0bf46ff356c6177b (patch) | |
tree | 7ec5160f8a03894ed0f4be9a1c312ed5bffdc7e5 /math | |
parent | d0b6ac6c5023a223e150c49c422c7ad2bd99456c (diff) | |
download | glibc-f23e5ee26d14b7931c65e5df0bf46ff356c6177b.tar glibc-f23e5ee26d14b7931c65e5df0bf46ff356c6177b.tar.gz glibc-f23e5ee26d14b7931c65e5df0bf46ff356c6177b.tar.bz2 glibc-f23e5ee26d14b7931c65e5df0bf46ff356c6177b.zip |
Updated to fedora-glibc-20080326T1041cvs/fedora-glibc-2_7_90-12
Diffstat (limited to 'math')
-rw-r--r-- | math/libm-test.inc | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index e698923f4e..a33a182857 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -4481,6 +4481,11 @@ nearbyint_test (void) TEST_f_f (nearbyint, -0.5, minus_zero); TEST_f_f (nearbyint, -1.5, -2.0); + TEST_f_f (nearbyint, 262144.75, 262145.0); + TEST_f_f (nearbyint, 262142.75, 262143.0); + TEST_f_f (nearbyint, 524286.75, 524287.0); + TEST_f_f (nearbyint, 524288.75, 524289.0); + END (nearbyint); } @@ -4852,6 +4857,10 @@ rint_test (void) TEST_f_f (rint, -0.1, -0.0); TEST_f_f (rint, -0.25, -0.0); TEST_f_f (rint, -0.625, -1.0); + TEST_f_f (rint, 262144.75, 262145.0); + TEST_f_f (rint, 262142.75, 262143.0); + TEST_f_f (rint, 524286.75, 524287.0); + TEST_f_f (rint, 524288.75, 524289.0); #ifdef TEST_LDOUBLE /* The result can only be represented in long double. */ TEST_f_f (rint, 4503599627370495.5L, 4503599627370496.0L); |