総合手引 | セクション 3 | English | オプション |
double
lgamma(double x);
float
lgammaf(float x);
double
gamma(double x);
float
gammaf(float x);
外部変数 signgam には x のガンマ関数の符号が返されます。
gamma(x) および gammaf(x) では signgam は使用されません。
lg = lgamma(x); g = signam*exp(lg);
signgam は、 lgamma() あるいは lgammaf() の処理が完了した段階でないと正しい値を得ることができません。
引数の値域については、 gamma() および gammaf() のものが優先されます。 正値引数の場合は全ての計算要素まで正確に計算されます。 lgamma() のベキ指数の有効サイズは 2 の 10 乗までです。
LGAMMA (3) | December 3, 1992 |
総合手引 | セクション 3 | English | オプション |
このマニュアルページサービスについてのご意見は Ben Bullock にお知らせください。 Privacy policy.
“ | "I liken starting one's computing career with Unix, say as an undergraduate, to being born in East Africa. It is intolerably hot, your body is covered with lice and flies, you are malnourished and you suffer from numerous curable diseases. But, as far as young East Africans can tell, this is simply the natural condition and they live within it. By the time they find out differently, it is too late. They already think that the writing of shell scripts is a natural act." | ” |
— Ken Pier, Xerox PARC |