[all-commits] [llvm/llvm-project] 606a99: [flang] Fix SCALE() folding with big scale factors...
Peter Klausler via All-commits
all-commits at lists.llvm.org
Mon Mar 18 14:12:32 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 606a997a3cb83437e1aeef9fee55144863b0ad76
https://github.com/llvm/llvm-project/commit/606a997a3cb83437e1aeef9fee55144863b0ad76
Author: Peter Klausler <35819229+klausler at users.noreply.github.com>
Date: 2024-03-18 (Mon, 18 Mar 2024)
Changed paths:
M flang/include/flang/Evaluate/real.h
M flang/test/Evaluate/fold-scale.f90
Log Message:
-----------
[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.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list