InvalidOperationException | x is signaling NaN |
DivisionByZeroException | x = ±0.0 and y < 0.0 |
OverflowException | result is too big to be represented |
UnderflowException | result is too small to be represented |
InexactException | result is inexact |
x | y | pow(x, y) |
---|---|---|
sNaN | any | NaN |
any | 0 | +1.0 |
NaN | any | NaN |
±∞ | any | ±∞ |
±0.0 | odd n < 0 | ±∞ |
±0.0 | even n < 0 | +∞ |
±0.0 | odd n > 0 | ±0.0 |
±0.0 | even n > 0 | +0.0 |
Compute the value of xy