Implement IEEE Real::SQRT() operation, then use it to
also implement Real::HYPOT(), which can then be used directly
to implement Complex::ABS().
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D109250
[flang] evaluate: Fold SQRT, HYPOT, & CABS ClosedPublic Authored by klausler on Sep 3 2021, 11:13 AM.
Details Summary Implement IEEE Real::SQRT() operation, then use it to
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Sep 6 2021, 1:16 AM Closed by commit rGc9e9635ffef7: [flang] evaluate: Fold SQRT, HYPOT, & CABS (authored by klausler). · Explain WhySep 7 2021, 10:33 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 371119 flang/include/flang/Evaluate/complex.h
flang/include/flang/Evaluate/real.h
flang/lib/Evaluate/fold-real.cpp
flang/lib/Evaluate/intrinsics-library.cpp
flang/lib/Evaluate/real.cpp
flang/test/Evaluate/folding28.f90
|