LOG2

Returns the base 2 logarithm of x.

Syntax

LOG2(input)

Arguments

NameTypeMandatory

input

numeric

true

Returns

Returns a double value.

Examples

inputoutput

2

1.0

16.0

4.0

0.5

-1.0

15

3.9068905956085187

0

'-Infinity'

-2

nan()

Last updated