4.3.14. Gamma function (gamma, gamma_r)

These functions both compute the logarithm of the gamma function. They are synonyms for lgamma and lgamma_r (see The logarithm of the gamma function).

double gamma(double x);
double gamma_r(double x, int *);

Note

Despite their names, these functions compute the logarithm of the gamma function, not the gamma function itself.

Copyright © 2007 ARM Limited. All rights reserved.ARM DUI 0349A
Non-Confidential