The GAMMALN function calculates the natural logarithm of the gamma function, G(x) (see GAMMADIST).
The formula used is:
GAMMALN = LN(G(x))
See also:
Other statistical functions