This is an archive of the discontinued LLVM Phabricator instance.

[flang] Correct off-by-one error in SET_EXPONENT
ClosedPublic

Authored by klausler on Aug 12 2021, 11:25 AM.

Details

Summary

SET_EXPONENT is returning values that are too large by a factor of two.

Diff Detail

Event Timeline

klausler created this revision.Aug 12 2021, 11:25 AM
klausler requested review of this revision.Aug 12 2021, 11:25 AM
klausler updated this revision to Diff 366073.Aug 12 2021, 12:27 PM
klausler retitled this revision from [flang] Correct expected unit test results for SET_EXPONENT to [flang] Correct off-by-one error in SET_EXPONENT.
klausler edited the summary of this revision. (Show Details)

Fix both SET_EXPONENT and test.

PeteSteinfeld accepted this revision.Aug 12 2021, 12:48 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Aug 12 2021, 12:48 PM
This revision was landed with ongoing or failed builds.Aug 12 2021, 12:51 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 12 2021, 12:51 PM