C Tutorial/math.h/lgamma — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
(нет различий)
|
Текущая версия на 13:32, 25 мая 2010
lgamma
Item Value Header file math.h Declaration float lgammaf(float arg);double lgamma(double arg);long double lgammal(long double arg); Function computes the absolute value of the gamma and returns its natural logarithm.
<source lang="cpp">#include <math.h>
#include <stdio.h> int main(void) { printf("%f", lgammaf (1.2)); return 0; }</source>