C Tutorial/math.h/tgamma

Материал из C\C++ эксперт
Версия от 13:32, 25 мая 2010; Admin (обсуждение | вклад) (1 версия: Импорт контента...)
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
Перейти к: навигация, поиск

tgamma

Item Value Header file math.h Declaration float tgammaf(float arg);double tgamma(double arg);long double tgammal(long double arg); Return returns the gamma function of arg.


<source lang="cpp">#include <math.h>

 #include <stdio.h>
 int main(void)
 {
   printf("%f\n", tgamma (1.2));
   return 0;
 }</source>