XLPack
6.1
Excel VBA Numerical Library (Basic module) Reference Manual
Loading...
Searching...
No Matches
C4. Elementary functions (transcendental functions)
Acos
Acosh
Asin
Asinh
Atan2
Atanh
Cosh
Cospi
Exp2
Expm1
Log10
Log1p
Log2
Powm1
Sinh
Sinpi
Sqrt1pm1
Tanh
◆
Log2()
Function Log2
(
X As
Double
,
Optional Info As
Long
)
log
2
(x) (base-2 logarithm of x)
Purpose
Computes the base-2 logarithm of x.
Returns
Double
log2(x).
Parameters
[in]
X
Argument x. (X > 0)
[out]
Info
(Optional)
= 0: Successful exit.
= -1: The argument X had an illegal value. (X < 0)
= 1: Floating point range error.
Generated by
1.9.6