1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-10-21 14:53:53 +03:00

Optimized nearbyint for PPC

This commit is contained in:
Adhemerval Zanella
2011-12-17 14:59:47 -05:00
committed by Ulrich Drepper
parent ad8ac1bd6a
commit a1267ba1c6
7 changed files with 292 additions and 1 deletions

View File

@@ -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);