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.
Details
Details
- Reviewers
sivachandra lntue - Commits
- rGcc65ecfd08fb: [libc] fix strtofloat on large exponents
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo