[libc-commits] [PATCH] D109261: [libc][WIP] add atof, strtof, strtod, and strtold

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Sep 7 16:27:52 PDT 2021


michaelrj updated this revision to Diff 371215.
michaelrj added a comment.

added a ton more tests for the hexadecimal path, and ended up fixing a lot of bugs along the way. Mainly issues related to how rounding was handled. Now the rounding is correct for all of the tests in WorkingExamples.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D109261

Files:
  libc/config/linux/x86_64/entrypoints.txt
  libc/src/__support/CMakeLists.txt
  libc/src/__support/str_conv_utils.h
  libc/src/stdlib/CMakeLists.txt
  libc/src/stdlib/strtod.cpp
  libc/src/stdlib/strtod.h
  libc/src/stdlib/strtof.cpp
  libc/src/stdlib/strtof.h
  libc/test/src/stdlib/CMakeLists.txt
  libc/test/src/stdlib/strtod_test.cpp
  libc/test/src/stdlib/strtof_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D109261.371215.patch
Type: text/x-patch
Size: 27482 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210907/a44885ee/attachment-0001.bin>


More information about the libc-commits mailing list