C Tutorial/math.h/tgamma — различия между версиями

Материал из C\C++ эксперт
Перейти к: навигация, поиск
м (1 версия: Импорт контента...)
 
(нет различий)

Версия 14:21, 25 мая 2010

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.


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