Before, an APInt with value 10 was created, whose width was the significand width. But 10 cannot fit in Float8E5M2's significand.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D138540
Fix APFloat::toString on Float8E5M2 values. ClosedPublic Authored by reedwm on Nov 22 2022, 8:18 PM.
Details Summary Before, an APInt with value 10 was created, whose width was the significand width. But 10 cannot fit in Float8E5M2's significand.
Diff Detail
Event TimelineThis revision is now accepted and ready to land.Dec 1 2022, 5:40 AM Closed by commit rG7476d59414d3: Fix APFloat::toString on Float8E5M2 values. (authored by reedwm, committed by bkramer). · Explain WhyDec 13 2022, 12:52 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 477374 llvm/lib/Support/APFloat.cpp
llvm/unittests/ADT/APFloatTest.cpp
|