llvm-project
315c88c5
- [flang] Fixed MODULO(x, inf) to produce NaN. (#86145)
Go
Login via GitHub
Home
Pricing
FAQ
Install
Login
via GitHub
Commit
View On
GitHub
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.
References
#86145 - [flang] Fixed MODULO(x, inf) to produce NaN.
Author
vzakhari
Parents
07a56679
Loading