MicrOS
lgammal.c File Reference
#include "../math.h"

Functions

long double lgammal (long double x)
 Compute gamma function. More...
 

Function Documentation

◆ lgammal()

long double lgammal ( long double  x)

Compute gamma function.

The lgammal functions compute the natural logarithm of the absolute value of gamma of x. A range error occurs if x is too large. A pole error may occur if x is a negative integer or zero.

Parameters
xParameter for the log-gamma function.
Returns
The lgammal functions return log_e | Γ(x) |.