Skip to content

Log2

The base-2 (binary) logarithm of z.

Wolfram LanguageLog2
Log2(z)the base-2 logarithm of z, .

Domain: Elementary functions

Details
  • Equivalent to Log(z, 2), and identical to Lb.
  • Folds exactly for positive integer powers of 2, but not for exact rational powers less than 1 (e.g. ) -- only a floating-point argument reduces there.

Examples

See also: Log, Log10, Lb