[libc-commits] [PATCH] D113710: [libc] add basic strtold implementation
Michael Jones via Phabricator via libc-commits
libc-commits at lists.llvm.org
Thu Nov 11 13:19:15 PST 2021
michaelrj created this revision.
michaelrj added reviewers: sivachandra, lntue.
Herald added subscribers: libc-commits, ecnelises, tschuett, mgorny.
Herald added a project: libc-project.
michaelrj requested review of this revision.
Due to the differences between the types of long double, this function
is effectively three functions in one. This patch adds basic support for
the types of long double, although it's just using the fast path and the
fallback for the moment. I still need to implement a version of
Eisel-Lemire for performance, but the existing algorithms should be
correct.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D113710
Files:
libc/config/linux/x86_64/entrypoints.txt
libc/spec/stdc.td
libc/src/__support/str_to_float.h
libc/src/stdlib/CMakeLists.txt
libc/src/stdlib/strtold.cpp
libc/src/stdlib/strtold.h
libc/test/src/stdlib/CMakeLists.txt
libc/test/src/stdlib/strtold_test.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113710.386640.patch
Type: text/x-patch
Size: 16408 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211111/48586326/attachment-0001.bin>
More information about the libc-commits
mailing list