[libc-commits] [PATCH] D115280: [libc] add modified Eisel-Lemire for long doubles

Michael Jones via Phabricator via libc-commits libc-commits at lists.llvm.org
Tue Dec 7 13:21:04 PST 2021


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

The Eisel-Lemire algorithm is an effecient way to handle converting to
floating point numbers from strings, but in its base form it only
supports up to 64 bit floating point numbers. This adds an
implementation to handle long doubles.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D115280

Files:
  libc/src/__support/str_to_float.h
  libc/test/src/__support/str_to_float_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D115280.392516.patch
Type: text/x-patch
Size: 6709 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211207/dbccd8b1/attachment-0001.bin>


More information about the libc-commits mailing list