log2
Base-2 logarithm.
Syntax
Section titled “Syntax”Y = log2(X)Description
Section titled “Description”Returns log(X) / log(2). Useful for information-theoretic quantities and digital-signal processing.
Example
Section titled “Example”log2(8) % 3