diff options
author | Adhemerval Zanella <azanella@linux.vnet.ibm.com> | 2011-12-17 14:59:47 -0500 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-12-17 14:59:47 -0500 |
commit | a1267ba1c6967afdc9ed9af16e3b42f5a240988e (patch) | |
tree | f683c57d73aa19d4e62a3cd6fdb83d153f66b4ef /math/libm-test.inc | |
parent | ad8ac1bd6a3db5becaf1dc20394f6e682d7828cc (diff) | |
download | glibc-a1267ba1c6967afdc9ed9af16e3b42f5a240988e.tar.gz glibc-a1267ba1c6967afdc9ed9af16e3b42f5a240988e.tar.xz glibc-a1267ba1c6967afdc9ed9af16e3b42f5a240988e.zip |
Optimized nearbyint for PPC
Diffstat (limited to 'math/libm-test.inc')
-rw-r--r-- | math/libm-test.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/math/libm-test.inc b/math/libm-test.inc index a451174f0e..2843997062 100644 --- a/math/libm-test.inc +++ b/math/libm-test.inc @@ -4618,6 +4618,10 @@ nearbyint_test (void) TEST_f_f (nearbyint, minus_infty, minus_infty); TEST_f_f (nearbyint, nan_value, nan_value); + /* Subnormal values */ + TEST_f_f (nearbyint, -8.98847e+307, -8.98847e+307); + TEST_f_f (nearbyint, -4.45015e-308, minus_zero); + /* Default rounding mode is round to nearest. */ TEST_f_f (nearbyint, 0.5, 0.0); TEST_f_f (nearbyint, 1.5, 2.0); |