forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit5674eb9
committed
Fix power() for large inputs yet more.
Buildfarm results for commite532b1d reveal the error in my thinkingabout the unexpected-EDOM case. I'd supposed this was no longer reallya live issue, but it seems the fix for glibc's bug #3866 is not all thatold, and we still have at least one buildfarm animal (lapwing) with thebug. Hence, resurrect essentially the previous logic (but, I hope, lessopaquely presented), and explain what it is we're really doing here.Also, blindly try to fix fossa's failure by tweaking the logic thatfigures out whether y is an odd integer when x is -inf. This smellsa whole lot like a compiler bug, but I lack access to icc to try topin it down. Maybe doing division instead of multiplication willdodge the issue.Discussion:https://postgr.es/m/E1jkU7H-00024V-NZ@gemulon.postgresql.org1 parent2961c97 commit5674eb9
1 file changed
+23
-11
lines changedLines changed: 23 additions & 11 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1583 | 1583 |
| |
1584 | 1584 |
| |
1585 | 1585 |
| |
1586 |
| - | |
| 1586 | + | |
1587 | 1587 |
| |
1588 | 1588 |
| |
1589 | 1589 |
| |
| |||
1608 | 1608 |
| |
1609 | 1609 |
| |
1610 | 1610 |
| |
1611 |
| - | |
1612 |
| - | |
1613 |
| - | |
1614 |
| - | |
1615 |
| - | |
1616 |
| - | |
1617 |
| - | |
| 1611 | + | |
| 1612 | + | |
| 1613 | + | |
| 1614 | + | |
| 1615 | + | |
| 1616 | + | |
| 1617 | + | |
| 1618 | + | |
| 1619 | + | |
1618 | 1620 |
| |
1619 |
| - | |
1620 |
| - | |
1621 |
| - | |
| 1621 | + | |
| 1622 | + | |
| 1623 | + | |
| 1624 | + | |
| 1625 | + | |
| 1626 | + | |
| 1627 | + | |
| 1628 | + | |
| 1629 | + | |
| 1630 | + | |
| 1631 | + | |
| 1632 | + | |
| 1633 | + | |
1622 | 1634 |
| |
1623 | 1635 |
| |
1624 | 1636 |
| |
|
0 commit comments
Comments
(0)