Log2

log2

Returns the base-2 logarithm of the input.

Spec

log2(arg0)

Parameters

arg0 - A numeric value.

Return Value

The base-2 logarithm of arg0 as a double.

Example

datatable(val:double)[1.0, 8.0]
| extend result = log2(val)
valresult
1.00.0
8.03.0