LOG2()

Base 2 logarithm of a numeric value

Returns the computed logarithm of x with base 2 as a Decimal value.

Sample usage

LOG2(3.14) returns 1.6507645591169 (equivalent to LOG(3.14, 2))

LOG2(8) returns 3 (equivalent to LOG(8, 2))

LOG2(4096) returns 12 (equivalent to LOG(4096, 2))

LOG2(POWER(2, 32)) returns 32

POWER(2, LOG2(32)) returns 32.00

Syntax

LOG2(x)

  • x - Any numeric type.

See also

LN()

LOG() 

LOG10()

POWER()

SQRT()

 

Was this helpful?

How can we improve it?
true
Search
Clear search
Close search
Main menu
14157400099599122590
true
Search Help Center
false
true
true
true
false
false
false
false