InvalidOperationException | x is signaling NaN |
UnderflowException | 2x is too small to be represented |
OverflowException | 2x is too big to be represented |
InexactException | the result is inexact |
x | exp2(x) |
---|---|
NaN | NaN |
±0.0 | +1.0 |
-∞ | +0.0 |
+∞ | +∞ |
decimal32 x = 3; assert(exp2(x) == 8);
Page generated by adrdox
Calculates 2x