XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Exp2_sub()

Sub Exp2_sub ( Ret As  Double,
X As  Double,
Optional Info As  Long 
)

2x (base-2 exponent of x) (Subroutine version)

Purpose
Computes the base-2 exponent of x.
Parameters
[out]Ret2^x.
[in]XArgument x.
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.