Skip to content

Esta página también está en español.

Léela en español

このページは日本語でも読めます。

日本語で読む

本页也有简体中文版本。

阅读简体中文版本

Base-2 logarithm (log2)

Logarithm to base 2.

How to write it

log2(z)

z
A number, possibly complex. Takes an expression.

Examples

  • log⁡2(8)=3\displaystyle \log_{2}(8) = 3
    log2(8)

    In the solver, log2(8) gives 3.

    Open in the solver
  • max

    The largest of some numbers.

  • log10

    Logarithm to base 10.

  • min

    The smallest of some numbers.

  • log

    Logarithm: natural with ln, or to any base with log.

  • mod

    Remainder of a division of whole numbers.

  • lcm

    Least common multiple of whole numbers.