logGamma

fnreal logGamma(real x)

Natural logarithm of the gamma function, Γ(x)

Returns the base e (2.718...) logarithm of the absolute value of the gamma function of the argument.

For reals, logGamma is equivalent to log(fabs(gamma(x))).

x, logGamma(x) NaN, NaN integer <= 0, +∞ +∞, +∞