diff options
author | Michael Jones <michaelrj@google.com> | 2021-11-12 11:53:44 -0800 |
---|---|---|
committer | Michael Jones <michaelrj@google.com> | 2021-11-17 11:00:54 -0800 |
commit | 47d0c83e1f5fb0826d265f163d00cb57615b89d4 (patch) | |
tree | f25e2d726310a26f404ce1c4d11889ab356178c8 /libcxx/src/algorithm.cpp | |
parent | 3020608b619583ebafed618f6113ccc153a06fe1 (diff) | |
download | llvm-47d0c83e1f5fb0826d265f163d00cb57615b89d4.zip llvm-47d0c83e1f5fb0826d265f163d00cb57615b89d4.tar.gz llvm-47d0c83e1f5fb0826d265f163d00cb57615b89d4.tar.bz2 |
[libc] fix strtof/d/ld NaN parsing
Fix the fact that previously strtof/d/ld would only accept a NaN as
having parentheses if the thing in the parentheses was a valid number,
now it will accept any combination of letters and numbers, but will only
put valid numbers in the mantissa.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D113790
Diffstat (limited to 'libcxx/src/algorithm.cpp')
0 files changed, 0 insertions, 0 deletions