[libc-commits] [PATCH] D140042: [libc] add exponent format to printf

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Dec 14 11:28:06 PST 2022


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

Add support for the %e/E conversion in printf, as well as unit tests. It
does not yet support long doubles.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D140042

Files:
  libc/src/__support/float_to_string.h
  libc/src/stdio/printf_core/converter.cpp
  libc/src/stdio/printf_core/float_dec_converter.h
  libc/test/src/stdio/sprintf_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D140042.482948.patch
Type: text/x-patch
Size: 46025 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20221214/7328f8c2/attachment-0001.bin>


More information about the libc-commits mailing list