Calculates the natural logarithm of the sum of field's value and 1. For small values of x, the result of log1p(x) is much closer to the true result of ln(1 + x) than the floating-point evaluation of log(1.0+x).

ParameterTypeRequiredDefaultDescription
asstringoptional[a]_log1p The name of the output field.
field[b]stringrequired  The name of the input field.

[a] Optional parameters use their default value unless explicitly set

[b] The argument name field can be omitted.

Omitted Argument Names

The argument name for field can be omitted; the following forms of this function are equivalent:

logscale
math:log1p("value")

and:

logscale
math:log1p(field="value")