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)

Examples

PRINT Log2(16)
<hr>4

See also

Logarithms & Exponentials Functions