Fix incorrect determination of the bigger number out of the two subtracted, while subnormal numbers are involved.
Details
Details
Diff Detail
Diff Detail
Event Timeline
Comment Actions
LGTM.
Would you mind adding a fused multiply-add test case like the one from bug 44010?
llvm/lib/Support/APFloat.cpp | ||
---|---|---|
1549 | The diff would be smaller if you left these tests in the same order :-) |
Comment Actions
@ekatz are you able to commit this yourself? Or are planning to obtain commit access (https://llvm.org/docs/DeveloperPolicy.html#new-contributors)?
Comment Actions
Reordered the conditions, to make a smaller diff.
Also replaced the previous test case with the one from PR44010, as it is practically the same, but also tests the result.
The diff would be smaller if you left these tests in the same order :-)