[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
Fri Sep 3 14:30:54 PDT 2021


michaelrj created this revision.
michaelrj added a reviewer: sivachandra.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
michaelrj requested review of this revision.

Add the string to floating point conversion functions.

CURRENTLY WIP: NaN, Inf, and hexadecimal are currently handled. Still
confirming that those work before tackling decimal conversion.


Repository:
  rG LLVM Github Monorepo

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.370676.patch
Type: text/x-patch
Size: 15515 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20210903/1dcd7f0f/attachment-0001.bin>


More information about the libc-commits mailing list