linearly v0.32.0Docs


linearly v0.32.0 / scalar / log2

Function: log2()

log2(x): number

Returns the base 2 logarithm of a number.

Parameters

x: number

A numeric expression.

Returns

number

Defined in

src/scalar.ts:431open in new window