lgamma : lgamma « math.h « C Tutorial






ItemValue
Header filemath.h
Declarationfloat lgammaf(float arg);
double lgamma(double arg);
long double lgammal(long double arg);
Functioncomputes the absolute value of the gamma and returns its natural logarithm.


#include <math.h>
  #include <stdio.h>

  int main(void)
  {
    printf("%f", lgammaf (1.2));

    return 0;
  }
-0.085374








19.41.lgamma
19.41.1.lgamma