[libc-commits] [PATCH] D113815: [libc] Correct rounding for hexadecimalStringToFloat with long inputs.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Fri Nov 12 16:06:56 PST 2021


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

Update binaryExpTofloat so that it will round correctly for long inputs when converting hexadecimal strings to floating points.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D113815

Files:
  libc/src/__support/str_to_float.h
  libc/test/src/stdlib/strtof_test.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D113815.386975.patch
Type: text/x-patch
Size: 8468 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20211113/af005922/attachment.bin>


More information about the libc-commits mailing list