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

Functions

double tgamma (double x)
 Compute gamma function. More...
 

Function Documentation

◆ tgamma()

double tgamma ( double  x)

Compute gamma function.

The tgamma 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).