When a number for strtofloat has an exponent that's too big or small, it
doesn't need to be calculated precisely since it is guaranteed to be
either INF or 0.0. This tightens those cutoffs to improve performance.
Details
Details
- Reviewers
sivachandra lntue - Commits
- rG2cd20ad90e36: [libc] tighten strtofloat cutoffs
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Added comments explaining the calculation for the lower bound.
Simplified lower bound logic and moved to int32.
What is "intermediate mantissa width"?