Commit e62555c
committed
[APFloat] Fix subtraction of subnormal numbers
Fix incorrect determination of the bigger number out of the two
subtracted, while subnormal numbers are involved.
Fixes PR44010.
Differential Revision: https://reviews.llvm.org/D697721 parent 718d68e commit e62555c
2 files changed
+13
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1484 | 1484 | | |
1485 | 1485 | | |
1486 | 1486 | | |
1487 | | - | |
1488 | 1487 | | |
1489 | | - | |
1490 | | - | |
| 1488 | + | |
1491 | 1489 | | |
1492 | | - | |
| 1490 | + | |
1493 | 1491 | | |
1494 | 1492 | | |
1495 | | - | |
1496 | 1493 | | |
1497 | 1494 | | |
1498 | 1495 | | |
1499 | | - | |
1500 | 1496 | | |
1501 | 1497 | | |
1502 | | - | |
| 1498 | + | |
| 1499 | + | |
1503 | 1500 | | |
1504 | 1501 | | |
1505 | 1502 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
530 | 530 | | |
531 | 531 | | |
532 | 532 | | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
| 536 | + | |
| 537 | + | |
| 538 | + | |
| 539 | + | |
| 540 | + | |
| 541 | + | |
533 | 542 | | |
534 | 543 | | |
535 | 544 | | |
| |||
0 commit comments