Files
swift-numerics/Sources
Stephen Canon ff6a0ff2a5 Fix bug for very large exponents pow(Float/Double, Int).
Just-added tests expose this issue, where the split of n into high/low parts could produce parts with different signs. If both x**high and x**low then overflow and underflow, the resulting computation would be 0*inf (or inf*0) and produce NaN instead of either zero or infinity.
2020-04-10 11:46:22 -04:00
..
2020-02-21 09:22:40 -05:00
2020-02-21 09:22:40 -05:00
2020-02-21 09:22:40 -05:00