This is an archive of the discontinued LLVM Phabricator instance.

[flang] Fix Gw.d format output
ClosedPublic

Authored by klausler on Sep 30 2020, 3:01 PM.

Details

Summary

The estimation of the decimal exponent needs to allow for all
'd' of the requested significant digits.

Also accept a plus sign on a "+kP" scaling factor in a format.

Diff Detail

Event Timeline

klausler created this revision.Sep 30 2020, 3:01 PM
Herald added a project: Restricted Project. · View Herald Transcript
klausler requested review of this revision.Sep 30 2020, 3:01 PM
PeteSteinfeld accepted this revision.Sep 30 2020, 4:27 PM

All builds, tests, and looks good.

This revision is now accepted and ready to land.Sep 30 2020, 4:27 PM
This revision was automatically updated to reflect the committed changes.