[llvm] [Support][KnownFPClass] Generalize scaling refinement to an exponent range (PR #215094)
via llvm-commits
llvm-commits at lists.llvm.org
Sat Aug 15 17:50:20 PDT 2026
ZERICO2005 wrote:
The other interesting edge case is `2^-149 / nextup(2^-23) == 2^-126 + 2^-149.0000001719826`
Largest subnormal is `2^-126 - 2^-149`, and the smallest normal is `2^-126`. This means that the result is ever so slightly larger than the largest subnormal. So when ceiling or round-away-from-zero rounding is used, the result will become the smallest normal.
https://github.com/llvm/llvm-project/pull/215094
More information about the llvm-commits
mailing list