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 equivalent to lgamma() etc. Use these. Use of the name gamma() is confusing, since these functions do not compute the Gamma function, but the natural logarithm of the Gamma function.

CONFORMING TO
Nonstandard. Compatible with previous mistakes.

SEE ALSO
lgamma(3), signgam(3), tgamma(3)