Policies & Guidelines

LOG2

Calculate the base 2 logarithm of a number

Description

Calculates the base 2 logarithm of the given number.

Function signature

LOG2(number: Number) => Number

Parameter

Description

Number

Number to calculate the base 2 logarithm for

Examples

Formula

Return value

LOG2(1)

0

LOG2(10)

3.32192809

LOG2(50)

5.64385619