[libc-commits] [PATCH] D129240: [libc] add printf hexadecimal float conversion
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Wed Jul 6 16:55:51 PDT 2022
michaelrj created this revision.
michaelrj added reviewers: lntue, sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added projects: libc-project, All.
michaelrj requested review of this revision.
This patch adds the %a/A conversions to printf, as well as the compiler
flag to disable floating point handling entirely. This will allow our
printf implementation to display every type of argument allowed by
printf, although some formats are still incomplete.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D129240
Files:
libc/src/stdio/printf_core/CMakeLists.txt
libc/src/stdio/printf_core/converter.cpp
libc/src/stdio/printf_core/converter_atlas.h
libc/src/stdio/printf_core/float_hex_converter.h
libc/src/stdio/printf_core/parser.cpp
libc/test/src/stdio/sprintf_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129240.442723.patch
Type: text/x-patch
Size: 24887 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220706/c6236631/attachment-0001.bin>
More information about the libc-commits
mailing list