Replace the latter half of the SQRT() folding algorithm with code that
calculates an exact root with extra rounding bits, and then lets the
usual normalization and rounding code do the right thing. Extend
tests to catch regressions.
Details
Details
- Reviewers
jeanPerier - Commits
- rG1ef5e6de7605: [flang] Make SQRT folding exact
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM, maybe some leftover debugging in unittests/Evaluate/real.cpp though.
flang/unittests/Evaluate/real.cpp | ||
---|---|---|
403 | Was it intended to push this part ? |
flang/unittests/Evaluate/real.cpp | ||
---|---|---|
403 | No, of course not. |
Was it intended to push this part ?