[libc-commits] [PATCH] D129665: [libc][nfc] move printf inf/nan to separate function

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Wed Jul 13 10:20:43 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.

The floating point functions all use the same inf and nan formatting. By
separating this functionality out of the %a conversion I make it
available for reuse by %f/e/g.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D129665

Files:
  libc/src/stdio/printf_core/CMakeLists.txt
  libc/src/stdio/printf_core/float_hex_converter.h
  libc/src/stdio/printf_core/float_inf_nan_converter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D129665.444326.patch
Type: text/x-patch
Size: 5794 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220713/4f16ab15/attachment.bin>


More information about the libc-commits mailing list