This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Fix directed UP/DOWN rounding edge case for Fw.d output
ClosedPublic

Authored by klausler on Jul 1 2022, 3:17 PM.

Details

Summary

When Fw.d output editing takes place with directed rounding, make sure that
nonzero values that would normally be converted to zero round up (or down,
depending on the sign) to a scaled 1.

Diff Detail

Event Timeline

klausler created this revision.Jul 1 2022, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptJul 1 2022, 3:17 PM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jul 1 2022, 3:17 PM
vdonaldson accepted this revision.Jul 1 2022, 4:49 PM
This revision is now accepted and ready to land.Jul 1 2022, 4:49 PM