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:
committed by
Ulrich Drepper
parent
ad8ac1bd6a
commit
a1267ba1c6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user