diff options
Diffstat (limited to 'math/libm-test-pow.inc')
-rw-r--r-- | math/libm-test-pow.inc | 118 |
1 files changed, 59 insertions, 59 deletions
diff --git a/math/libm-test-pow.inc b/math/libm-test-pow.inc index f09c369918..d9e64b9b38 100644 --- a/math/libm-test-pow.inc +++ b/math/libm-test-pow.inc @@ -29,61 +29,61 @@ static const struct test_ff_f_data pow_test_data[] = TEST_ff_f (pow, snan_value, minus_zero, qnan_value, INVALID_EXCEPTION|NO_TEST_MATHVEC), TEST_ff_f (pow, -snan_value, minus_zero, qnan_value, INVALID_EXCEPTION|NO_TEST_MATHVEC), - TEST_ff_f (pow, 1.1L, plus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, plus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, -1.1L, plus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, plus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, 0.9L, plus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, 1e-7L, plus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, -0.9L, plus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, -1e-7L, plus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, 1.1L, minus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, minus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, -1.1L, minus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, minus_infty, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, 0.9L, minus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, 1e-7L, minus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, -0.9L, minus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, -1e-7L, minus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, plus_infty, 1e-7L, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, 1, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, 1e7L, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, min_subnorm_value, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, plus_infty, -1e-7L, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, -1, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, -1e7L, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, plus_infty, -min_subnorm_value, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, minus_infty, 1, minus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 11, minus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 1001, minus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, minus_infty, 2, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 12, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 1002, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 0.1L, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 1.1L, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 11.1L, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, 1001.1L, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, min_subnorm_value, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, minus_infty, -1, minus_zero, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -11, minus_zero, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -1001, minus_zero, ERRNO_UNCHANGED|NO_TEST_INLINE), - - TEST_ff_f (pow, minus_infty, -2, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -12, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -1002, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -0.1L, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -1.1L, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -11.1L, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -1001.1L, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), - TEST_ff_f (pow, minus_infty, -min_subnorm_value, 0, ERRNO_UNCHANGED|NO_TEST_INLINE), + TEST_ff_f (pow, 1.1L, plus_infty, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, plus_infty, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, -1.1L, plus_infty, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, plus_infty, plus_infty, ERRNO_UNCHANGED), + + TEST_ff_f (pow, 0.9L, plus_infty, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, 1e-7L, plus_infty, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, -0.9L, plus_infty, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, -1e-7L, plus_infty, 0, ERRNO_UNCHANGED), + + TEST_ff_f (pow, 1.1L, minus_infty, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, minus_infty, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, -1.1L, minus_infty, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, minus_infty, 0, ERRNO_UNCHANGED), + + TEST_ff_f (pow, 0.9L, minus_infty, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, 1e-7L, minus_infty, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, -0.9L, minus_infty, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, -1e-7L, minus_infty, plus_infty, ERRNO_UNCHANGED), + + TEST_ff_f (pow, plus_infty, 1e-7L, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, 1, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, 1e7L, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, min_subnorm_value, plus_infty, ERRNO_UNCHANGED), + + TEST_ff_f (pow, plus_infty, -1e-7L, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, -1, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, -1e7L, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, plus_infty, -min_subnorm_value, 0, ERRNO_UNCHANGED), + + TEST_ff_f (pow, minus_infty, 1, minus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 11, minus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 1001, minus_infty, ERRNO_UNCHANGED), + + TEST_ff_f (pow, minus_infty, 2, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 12, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 1002, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 0.1L, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 1.1L, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 11.1L, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, 1001.1L, plus_infty, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, min_subnorm_value, plus_infty, ERRNO_UNCHANGED), + + TEST_ff_f (pow, minus_infty, -1, minus_zero, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -11, minus_zero, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -1001, minus_zero, ERRNO_UNCHANGED), + + TEST_ff_f (pow, minus_infty, -2, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -12, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -1002, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -0.1L, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -1.1L, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -11.1L, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -1001.1L, 0, ERRNO_UNCHANGED), + TEST_ff_f (pow, minus_infty, -min_subnorm_value, 0, ERRNO_UNCHANGED), TEST_ff_f (pow, qnan_value, qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), TEST_ff_f (pow, qnan_value, -qnan_value, qnan_value, NO_INEXACT_EXCEPTION|ERRNO_UNCHANGED), @@ -257,16 +257,16 @@ static const struct test_ff_f_data pow_test_data[] = TEST_ff_f (pow, minus_zero, minus_infty, plus_infty, ERRNO_UNCHANGED), /* pow (x, +inf) == +inf for |x| > 1. */ - TEST_ff_f (pow, 1.5, plus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), + TEST_ff_f (pow, 1.5, plus_infty, plus_infty, ERRNO_UNCHANGED), /* pow (x, +inf) == +0 for |x| < 1. */ - TEST_ff_f (pow, 0.5, plus_infty, 0.0, ERRNO_UNCHANGED|NO_TEST_INLINE), + TEST_ff_f (pow, 0.5, plus_infty, 0.0, ERRNO_UNCHANGED), /* pow (x, -inf) == +0 for |x| > 1. */ - TEST_ff_f (pow, 1.5, minus_infty, 0.0, ERRNO_UNCHANGED|NO_TEST_INLINE), + TEST_ff_f (pow, 1.5, minus_infty, 0.0, ERRNO_UNCHANGED), /* pow (x, -inf) == +inf for |x| < 1. */ - TEST_ff_f (pow, 0.5, minus_infty, plus_infty, ERRNO_UNCHANGED|NO_TEST_INLINE), + TEST_ff_f (pow, 0.5, minus_infty, plus_infty, ERRNO_UNCHANGED), /* pow (+inf, y) == +inf for y > 0. */ TEST_ff_f (pow, plus_infty, 2, plus_infty, ERRNO_UNCHANGED), |