double tgamma ( double x); float tgammaf ( float x); long double tgammal (long double x);
double tgamma ( double x); float tgamma ( float x); long double tgamma (long double x); double tgamma (T x); // additional overloads for integral types
Returns the gamma function of x.<cmath>) for the integral types: These overloads effectively cast x to a double before calculations (defined for T being any integral type). |
|
lgamma (0.500000) = 0.772454 |