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

Functions

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

Function Documentation

◆ tgammal()

long double tgammal ( long double  x)

Compute gamma function.

The tgammal functions compute the gamma function of x. A domain error or pole error may occur if x is a negative integer or zero. A range error occurs if the magnitude of x is too large and may occur if the magnitude of x is too small.

Parameters
xParameter for the gamma function.
Returns
The tgamma functions return Γ(x).