Examples
LOG2(3.14)
: 1.6507645591169 (equivalent to LOG(3.14, 2)
)
LOG2(8)
: 3 (equivalent to LOG(8, 2)
)
LOG2(4096)
: 12 (equivalent to LOG(4096, 2)
)
LOG2(POWER(2, 32))
: 32
POWER(2, LOG2(32))
: 32.00
Syntax
LOG2( x )
Arguments
- x (any numeric type)
Return Value
Decimal: the computed logarithm of x with base 2.