lgamma_r

Name

lgamma_r -- log gamma functions

Synopsis

#include <math.h>

double lgamma_r(double x, int * signp);

Description

The lgamma_r() function shall compute the natural logarithm of the absolute value of the Gamma function, as lgamma(). However, instead of setting the external integer signgam to the sign of the Gamma function, lgamma_r() shall set the integer referenced by signp to the sign.

Returns

See lgamma() and signgam.

See Also

lgamma(), lgammaf_r(), lgammal_r(), signgam