Loading LOADSUB ALL FROM "FACT.HTS"
or LOADSUB FROM "MATHLIB.HTS"
Usage INTEGER N
REAL Y
Y=FNFact(N)
Description
FNFact returns the value of the factorial of n, n!. N must be a positive integer or zero.
Errors
FNFact causes an HTBasic error if its argument is not of types INTEGER or if the value of n! is greater than MAXREAL, the largest number representable.
See Also
Binom, Gamma
|