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

Functions

float tgammaf (float x)
 Compute gamma function. More...
 

Function Documentation

◆ tgammaf()

float tgammaf ( float  x)

Compute gamma function.

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