Calculates the base 2 logarithm of a double field.

ParameterTypeRequiredDefaultDescription
asstringoptional[a]_log2 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:log2("value")

and:

logscale
math:log2(field="value")