llvm-project
315c88c5 - [flang] Fixed MODULO(x, inf) to produce NaN. (#86145)

Commit
1 year ago
[flang] Fixed MODULO(x, inf) to produce NaN. (#86145) Straightforward computation of `A − FLOOR (A / P) * P` should produce NaN, when P is infinity. The -menable-no-infs lowering can still use the relaxed operations sequence.
Author
Parents
Loading