[libc-commits] [PATCH] D143006: [libc] add printf auto float conversion

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Jan 31 11:44:55 PST 2023


michaelrj added inline comments.


================
Comment at: libc/src/stdio/printf_core/float_dec_converter.h:806
 
+template <typename T, cpp::enable_if_t<cpp::is_floating_point_v<T>, int> = 0>
+int inline convert_float_dec_auto_typed(Writer *writer,
----------------
above this line are minor bugfixes I made to the previous conversion (%e) that I discovered while testing the new conversion. All the new code is below this line.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143006/new/

https://reviews.llvm.org/D143006



More information about the libc-commits mailing list