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)| val | result |
|---|---|
| 1.0 | 0.0 |
| 8.0 | 3.0 |