gamma
GAMMA(3) libc math functions GAMMA(3)
NAME
gamma - logarithm of the gamma function
SYNOPSIS
#include <math.h>
double gamma (double x);
float gammaf (float x);
long double gammal (long double x);
DESCRIPTION
The gamma() functions exist for compatibility reasons. They are equiv-
alent to lgamma() etc. Use these. Use of the name gamma() is confusing,
since these functions do not compute the Gamma function, but the natu-
ral logarithm of the Gamma function.
CONFORMING TO
Nonstandard. Compatible with previous mistakes.
SEE ALSO
lgamma(3), signgam(3), tgamma(3)
GNU 2002-08-10 GAMMA(3)