aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
diff options
context:
space:
mode:
authorMichael Jones <michaelrj@google.com>2023-04-03 14:00:43 -0700
committerMichael Jones <michaelrj@google.com>2023-04-05 09:58:31 -0700
commitcc65ecfd08fbcd1dbfa21532830877460432b4da (patch)
tree96ddaf75b61cb14514bb2dc3fc99473a092b8dee /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp
parent0e6d7eceaac376bb193700b64ba4ededcac5dc82 (diff)
downloadllvm-cc65ecfd08fbcd1dbfa21532830877460432b4da.zip
llvm-cc65ecfd08fbcd1dbfa21532830877460432b4da.tar.gz
llvm-cc65ecfd08fbcd1dbfa21532830877460432b4da.tar.bz2
[libc] fix strtofloat on large exponents
Previously if you specified an exponent of more than 10000 in string to float (e.g. "1e10001") it would treat it as 10000. A bug was discovered where by having more than 10000 zeroes after a decimal point and an exponent of more than 10000 this would cause the code to return the incorrect value. Reviewed By: lntue Differential Revision: https://reviews.llvm.org/D147474
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions