HTBasic Help
×
Menu
Index
Loggamma
Logarithm of the gamma function of a real argument.
 
Loading        LOADSUB ALL FROM "GAMMA.HTS"
or LOADSUB FROM "MATHLIB.HTS"
 
Usage                REAL X,Y
Y=FNLoggamma(X)
 
Description                
FNLoggamma returns the value of the logarithm of the gamma function of x, log[Γ(x)]. The value of log[Γ(x)] approaches ± as x approaches a negative integer or zero.
 
Errors                
FNLoggamma causes an HTBasic error if its argument is not of type REAL or if the magnitude of log[Γ(x)] exceeds MAXREAL, the largest number representable.
 
See Also
Cgamma, Gamma, Loggamma
 
log[Γ(x)]