Natural Log
The natural logarithm of a number, in base e.
Node id math/ln
The Natural Log node outputs the power to which E
must be raised to give value: ln(e) is 1, ln(1) is 0.
Inputs
| Name | Type | Default | Notes |
|---|---|---|---|
| value | number | 0 |
Outputs
| Name | Type | Notes |
|---|---|---|
| result | number |
Behaviour
- Invalid math. ln(0) gives
-Infinityand the logarithm of a negative number gives NaN, with no error. The input defaults to 0, so it has to be set.