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

◆ Factorial_sub()

Sub Factorial_sub ( Ret As  Double,
N As  Long,
Optional Info As  Long 
)

Factorial function (Subroutine version)

Purpose
Computes the factorial.
Parameters
[out]Retn!.
[in]NArgument n. (N >= 0)
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument N had an illegal value. (N < 0)
= 1: Floating point range error.
Reference
boost/math/special_functions