This is an archive of the discontinued LLVM Phabricator instance.

[flang][runtime] Refine list-directed REAL(2) output
ClosedPublic

Authored by klausler on Jul 13 2022, 11:36 AM.

Details

Summary

The rule used by list-directed REAL output editing to select
between Ew.d and Fw.d output editing breaks down for 16-bit
floating-point data, since the number of significant decimal
digits is so low that Ew,d output editing is nearly always selected.
Cap the test so that five-digit values will be output with Fw.d
editing.

Diff Detail

Event Timeline

klausler created this revision.Jul 13 2022, 11:36 AM
Herald added a project: Restricted Project. · View Herald TranscriptJul 13 2022, 11:36 AM
Herald added a subscriber: jdoerfert. · View Herald Transcript
klausler requested review of this revision.Jul 13 2022, 11:36 AM
vdonaldson accepted this revision.Jul 13 2022, 2:26 PM
This revision is now accepted and ready to land.Jul 13 2022, 2:26 PM
This revision was automatically updated to reflect the committed changes.