Unverified Commit 606a997a authored by Peter Klausler's avatar Peter Klausler Committed by GitHub
Browse files

[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.
parent 0007d7ea
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment