C/math.h/tgamma — различия между версиями
Admin (обсуждение | вклад) м (1 версия: Импорт контента...) |
|
(нет различий)
|
Версия 17:20, 25 мая 2010
tgamma: returns the gamma function of arg
<source lang="cpp">
//Declaration: float tgammaf(float arg);
double tgamma(double arg); long double tgammal(long double arg); #include <math.h> #include <stdio.h> int main(void) { printf("%f\n", tgamma (1.2)); return 0; } /*0.918169*/ </source>