[libc-commits] [PATCH] D148651: [libc] Add hex float support to string

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Apr 18 11:34:30 PDT 2023


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.

This clears the TODO to add float support to string and TestLogger. It
uses a hexadecimal representation because those are simpler to generate
and don't use rounding.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D148651

Files:
  libc/src/__support/CMakeLists.txt
  libc/src/__support/CPP/CMakeLists.txt
  libc/src/__support/CPP/string.h
  libc/src/__support/CPP/stringstream.h
  libc/src/__support/float_to_hex_string.h
  libc/test/UnitTest/TestLogger.cpp
  libc/test/src/__support/CPP/string_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D148651.514704.patch
Type: text/x-patch
Size: 14818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20230418/0b14464b/attachment-0001.bin>


More information about the libc-commits mailing list