[libc-commits] [PATCH] D158036: [libc] simplify printf float writing

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Aug 15 16:31:41 PDT 2023


michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added projects: libc-project, All.
Herald added a subscriber: libc-commits.
michaelrj requested review of this revision.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158036

Files:
  libc/src/stdio/printf_core/float_dec_converter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158036.550531.patch
Type: text/x-patch
Size: 10993 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230815/fe4fc21c/attachment-0001.bin>


More information about the libc-commits mailing list