This is an archive of the discontinued LLVM Phabricator instance.

[libc] simplify printf float writing
ClosedPublic

Authored by michaelrj on Aug 15 2023, 4:31 PM.

Details

Summary

The two decimal float printing styles are similar, but different in how
they end. For simplicity of writing I initially gave them different
"write_last_block" functions. This patch unifies them into one function.

Diff Detail

Event Timeline

michaelrj created this revision.Aug 15 2023, 4:31 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptAug 15 2023, 4:31 PM
michaelrj requested review of this revision.Aug 15 2023, 4:31 PM
sivachandra accepted this revision.Sep 13 2023, 1:42 PM
This revision is now accepted and ready to land.Sep 13 2023, 1:42 PM
This revision was automatically updated to reflect the committed changes.