The previous string to float tests didn't check correctness, but due to
the atof differential test proving unreliable the strtofloat fuzz test
has been changed to use MPFR for correctness checking. Some minor bugs
have been found and fixed as well.
Details
Details
- Reviewers
sivachandra lntue - Commits
- rGae3b59e62398: [libc] Use MPFR for strtofloat fuzzing
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
libc/src/__support/str_to_float.h | ||
---|---|---|
276 | this UInt128 isn't necessarily the UInt class, it's a raw uint128_t when that's available, so we can't do any sort of constructor on it. |
Comment Actions
changed how MPFR is included to support downstream configs in the same way as MPFRUtils
Does replacing UInt128(1) << 64 with UInt128({0, 1}) work?