Home
last modified time | relevance | path

Searched refs:EXPONENT_LIMIT (Results 1 – 2 of 2) sorted by relevance

/llvm-project-15.0.7/libc/test/src/math/
H A DRoundToIntegerTest.h119 constexpr int EXPONENT_LIMIT = sizeof(I) * 8 - 1; in do_round_numbers_test() local
123 bits.set_unbiased_exponent(EXPONENT_LIMIT + FPBits::EXPONENT_BIAS); in do_round_numbers_test()
183 constexpr int EXPONENT_LIMIT = sizeof(I) * 8 - 1; in testIntegerOverflow() local
187 bits.set_unbiased_exponent(EXPONENT_LIMIT + FPBits::EXPONENT_BIAS); in testIntegerOverflow()
/llvm-project-15.0.7/libc/src/__support/FPUtil/
H A DNearestIntegerOperations.h258 constexpr int EXPONENT_LIMIT = sizeof(I) * 8 - 1; in rounded_float_to_signed_integer() local
259 if (exponent > EXPONENT_LIMIT) { in rounded_float_to_signed_integer()
262 } else if (exponent == EXPONENT_LIMIT) { in rounded_float_to_signed_integer()