[all-commits] [llvm/llvm-project] 511265: [libc] add exponent format to printf
michaelrj-google via All-commits
all-commits at lists.llvm.org
Thu Dec 22 10:21:14 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 51126518261a061624110b013d6cc0a414488f5b
https://github.com/llvm/llvm-project/commit/51126518261a061624110b013d6cc0a414488f5b
Author: Michael Jones <michaelrj at google.com>
Date: 2022-12-22 (Thu, 22 Dec 2022)
Changed paths:
M libc/src/__support/float_to_string.h
M libc/src/stdio/printf_core/converter.cpp
M libc/src/stdio/printf_core/float_dec_converter.h
M libc/test/src/stdio/sprintf_test.cpp
Log Message:
-----------
[libc] add exponent format to printf
Add support for the %e/E conversion in printf, as well as unit tests. It
does not yet support long doubles.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D140042
More information about the All-commits
mailing list