Searched refs:INTEGER_MIN (Results 1 – 2 of 2) sorted by relevance
| /llvm-project-15.0.7/libc/test/src/math/ |
| H A D | RoundToIntegerTest.h | 40 static constexpr I INTEGER_MIN = I(1) << (sizeof(I) * 8 - 1); variable 41 static constexpr I INTEGER_MAX = -(INTEGER_MIN + 1); 86 test_one_input(func, neg_inf, INTEGER_MIN, true); in do_infinity_and_na_n_test() 200 test_one_input(func, x, INTEGER_MIN, true); in testIntegerOverflow() 206 test_one_input(func, x, INTEGER_MIN, true); in testIntegerOverflow() 273 test_one_input(func, x, x > 0 ? INTEGER_MAX : INTEGER_MIN, true); in testNormalRange() 282 test_one_input(func, x, x > 0 ? INTEGER_MAX : INTEGER_MIN, true); in testNormalRange()
|
| /llvm-project-15.0.7/libc/src/__support/FPUtil/ |
| H A D | NearestIntegerOperations.h | 242 constexpr I INTEGER_MIN = (I(1) << (sizeof(I) * 8 - 1)); in rounded_float_to_signed_integer() local 243 constexpr I INTEGER_MAX = -(INTEGER_MIN + 1); in rounded_float_to_signed_integer() 254 return bits.get_sign() ? INTEGER_MIN : INTEGER_MAX; in rounded_float_to_signed_integer() 261 return bits.get_sign() ? INTEGER_MIN : INTEGER_MAX; in rounded_float_to_signed_integer() 265 return bits.get_sign() ? INTEGER_MIN : INTEGER_MAX; in rounded_float_to_signed_integer()
|