Home / lang / log2 
Log2
Syntax
fValue = Log2 ( fNumber AS Float ) AS Float

Computes the binary logarithm of a number.

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

Example
PRINT Log2(16)

4


See also
Logarithms & Exponentials Functions