commit | 2f5e40d8520f3915d4a5bf01eb6416ddd6f24475 | [log] [tgz] |
---|---|---|
author | Michael Jones <michaelrj@google.com> | Fri Nov 12 11:53:44 2021 -0800 |
committer | Copybara-Service <copybara-worker@google.com> | Wed Nov 17 11:05:44 2021 -0800 |
tree | 5458576ca2846c7e83950d18b11af06c24e189d7 | |
parent | abfe9466ce4ddb8db030fb9217d8a3353e37925f [diff] |
[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 GitOrigin-RevId: 47d0c83e1f5fb0826d265f163d00cb57615b89d4