Commit a3b267d
committed
Fix BcMathCalculator::pow() returning '0' for 0^0
Not currently reachable via the public API (power() short-circuits a zero exponent), but realigns BcMath with GmpCalculator, NativeCalculator, and bcpow() itself.1 parent c76b280 commit a3b267d
1 file changed
Lines changed: 4 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
65 | 65 | | |
66 | 66 | | |
67 | 67 | | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
68 | 72 | | |
69 | 73 | | |
70 | 74 | | |
| |||
0 commit comments