lgamma

lgamma(n)

Logarithm of the gamma function for real, positive numbers and complex numbers, using Lanczos approximation for numbers and Stirling series for complex numbers.

Try it yourself:

See also:
All functions