lang • log2

Log2

Value = Log2 ( Number AS Float ) AS Float

Computes the binary logarithm of a number.

Log2(x) = Log(x) / Log(2)

Examples

Print Log2(16)
4

See also