For values larger than 12, an approximation is used.
gammaln(x)
x
A numeric vector of positive numbers.
gammaln(5) gammaln(50)