llvm-project
606a997a - [flang] Fix SCALE() folding with big scale factors (#85576)

Commit
1 year ago
[flang] Fix SCALE() folding with big scale factors (#85576) The folding of the SCALE() intrinsic function is implemented via multiplication by a power of two; this simplifies handling of exceptional cases. But sometimes scaling by a power of two requires an exponent larger or smaller than a floating-point format can represent, and two multiplications are required.
Author
Parents
Loading