/external/cronet/stable/third_party/llvm-libc/src/test/src/math/smoke/ |
D | RoundToIntegerTest.h | 41 void test_one_input(RoundToIntegerFunc func, F input, I expected, in test_one_input() function 71 test_one_input(func, inf, INTEGER_MAX, true); in do_infinity_and_na_n_test() 72 test_one_input(func, neg_inf, INTEGER_MIN, true); in do_infinity_and_na_n_test() 78 test_one_input(func, aNaN, INTEGER_MAX, true); in do_infinity_and_na_n_test() 94 test_one_input(func, zero, I(0), false); in do_round_numbers_test() 95 test_one_input(func, neg_zero, I(0), false); in do_round_numbers_test() 96 test_one_input(func, F(1.0), I(1), false); in do_round_numbers_test() 97 test_one_input(func, F(-1.0), I(-1), false); in do_round_numbers_test() 98 test_one_input(func, F(10.0), I(10), false); in do_round_numbers_test() 99 test_one_input(func, F(-10.0), I(-10), false); in do_round_numbers_test() [all …]
|
/external/llvm-libc/test/src/math/smoke/ |
D | RoundToIntegerTest.h | 41 void test_one_input(RoundToIntegerFunc func, F input, I expected, in test_one_input() function 71 test_one_input(func, inf, INTEGER_MAX, true); in do_infinity_and_na_n_test() 72 test_one_input(func, neg_inf, INTEGER_MIN, true); in do_infinity_and_na_n_test() 78 test_one_input(func, aNaN, INTEGER_MAX, true); in do_infinity_and_na_n_test() 94 test_one_input(func, zero, I(0), false); in do_round_numbers_test() 95 test_one_input(func, neg_zero, I(0), false); in do_round_numbers_test() 96 test_one_input(func, F(1.0), I(1), false); in do_round_numbers_test() 97 test_one_input(func, F(-1.0), I(-1), false); in do_round_numbers_test() 98 test_one_input(func, F(10.0), I(10), false); in do_round_numbers_test() 99 test_one_input(func, F(-10.0), I(-10), false); in do_round_numbers_test() [all …]
|
/external/cronet/tot/third_party/llvm-libc/src/test/src/math/smoke/ |
D | RoundToIntegerTest.h | 41 void test_one_input(RoundToIntegerFunc func, F input, I expected, in test_one_input() function 71 test_one_input(func, inf, INTEGER_MAX, true); in do_infinity_and_na_n_test() 72 test_one_input(func, neg_inf, INTEGER_MIN, true); in do_infinity_and_na_n_test() 78 test_one_input(func, aNaN, INTEGER_MAX, true); in do_infinity_and_na_n_test() 94 test_one_input(func, zero, I(0), false); in do_round_numbers_test() 95 test_one_input(func, neg_zero, I(0), false); in do_round_numbers_test() 96 test_one_input(func, F(1.0), I(1), false); in do_round_numbers_test() 97 test_one_input(func, F(-1.0), I(-1), false); in do_round_numbers_test() 98 test_one_input(func, F(10.0), I(10), false); in do_round_numbers_test() 99 test_one_input(func, F(-10.0), I(-10), false); in do_round_numbers_test() [all …]
|
/external/cronet/stable/third_party/llvm-libc/src/test/src/math/ |
D | RoundToIntegerTest.h | 56 void test_one_input(RoundToIntegerFunc func, FloatType input, in test_one_input() function 101 test_one_input(func, inf, INTEGER_MAX, true); in do_infinity_and_na_n_test() 102 test_one_input(func, neg_inf, INTEGER_MIN, true); in do_infinity_and_na_n_test() 108 test_one_input(func, nan, INTEGER_MAX, true); in do_infinity_and_na_n_test() 124 test_one_input(func, zero, IntType(0), false); in do_round_numbers_test() 125 test_one_input(func, neg_zero, IntType(0), false); in do_round_numbers_test() 126 test_one_input(func, FloatType(1.0), IntType(1), false); in do_round_numbers_test() 127 test_one_input(func, FloatType(-1.0), IntType(-1), false); in do_round_numbers_test() 128 test_one_input(func, FloatType(10.0), IntType(10), false); in do_round_numbers_test() 129 test_one_input(func, FloatType(-10.0), IntType(-10), false); in do_round_numbers_test() [all …]
|
/external/llvm-libc/test/src/math/ |
D | RoundToIntegerTest.h | 56 void test_one_input(RoundToIntegerFunc func, FloatType input, in test_one_input() function 101 test_one_input(func, inf, INTEGER_MAX, true); in do_infinity_and_na_n_test() 102 test_one_input(func, neg_inf, INTEGER_MIN, true); in do_infinity_and_na_n_test() 108 test_one_input(func, nan, INTEGER_MAX, true); in do_infinity_and_na_n_test() 124 test_one_input(func, zero, IntType(0), false); in do_round_numbers_test() 125 test_one_input(func, neg_zero, IntType(0), false); in do_round_numbers_test() 126 test_one_input(func, FloatType(1.0), IntType(1), false); in do_round_numbers_test() 127 test_one_input(func, FloatType(-1.0), IntType(-1), false); in do_round_numbers_test() 128 test_one_input(func, FloatType(10.0), IntType(10), false); in do_round_numbers_test() 129 test_one_input(func, FloatType(-10.0), IntType(-10), false); in do_round_numbers_test() [all …]
|
/external/cronet/tot/third_party/llvm-libc/src/test/src/math/ |
D | RoundToIntegerTest.h | 56 void test_one_input(RoundToIntegerFunc func, FloatType input, in test_one_input() function 101 test_one_input(func, inf, INTEGER_MAX, true); in do_infinity_and_na_n_test() 102 test_one_input(func, neg_inf, INTEGER_MIN, true); in do_infinity_and_na_n_test() 108 test_one_input(func, nan, INTEGER_MAX, true); in do_infinity_and_na_n_test() 124 test_one_input(func, zero, IntType(0), false); in do_round_numbers_test() 125 test_one_input(func, neg_zero, IntType(0), false); in do_round_numbers_test() 126 test_one_input(func, FloatType(1.0), IntType(1), false); in do_round_numbers_test() 127 test_one_input(func, FloatType(-1.0), IntType(-1), false); in do_round_numbers_test() 128 test_one_input(func, FloatType(10.0), IntType(10), false); in do_round_numbers_test() 129 test_one_input(func, FloatType(-10.0), IntType(-10), false); in do_round_numbers_test() [all …]
|