The related real number system inquiry functions SPACING()
and RRSPACING() can be folded for constant arguments.
See 16.9.164 & 16.9.180 in Fortran 2018.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D125100
[flang] Fold intrinsic functions SPACING() and RRSPACING() ClosedPublic Authored by klausler on May 6 2022, 8:42 AM.
Details Summary The related real number system inquiry functions SPACING()
Diff Detail
Event TimelineThis revision is now accepted and ready to land.May 6 2022, 10:28 AM Closed by commit rG1cff71b975bf: [flang] Fold intrinsic functions SPACING() and RRSPACING() (authored by klausler). · Explain WhyMay 9 2022, 2:09 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 428199 flang/include/flang/Evaluate/real.h
flang/lib/Evaluate/fold-real.cpp
flang/lib/Evaluate/real.cpp
flang/test/Evaluate/fold-spacing.f90
|