gamma

gamma(n)

Compute the gamma function. For small values, the Lanczos approximation is used, and for large values the extended Stirling approximation.

Try it yourself:

See also:
All functions