InvalidOperationException | x is signaling NaN or x < 0 |
DivisionByZero | x is ±0.0 |
Underflow | result is too small to be represented |
InexactException | the result is inexact |
x | log(x) |
---|---|
NaN | NaN |
±0.0 | -∞ |
-∞ | NaN |
+∞ | +∞ |
e | +1.0 |
< 0.0 | NaN |
assert (log(decimal32.E) == 1);
Page generated by adrdox
Calculates the natural logarithm of logex.