標準/拡張機能 | C/C++ | 依存項目 |
---|---|---|
C99 |
両方 | z/OS V1R5 |
#define _ISOC99_SOURCE
#include <math.h>
double tgamma(double x);
float tgammaf(float x);
long double tgammal(long double x);
#define _TR1_C99
#include <math.h>
float tgamma(float x);
long double tgamma(long double x);
関数 | Hex | IEEE |
---|---|---|
tgamma | X | X |
tgammaf | X | X |
tgammal | X | X |
IEEE の特殊な動作: tgammaf の入力が 0 の場合、極エラーが発生し、errno に ERANGE が設定されます。tgammaf の入力が負の整数の場合、ドメイン・エラーが発生し、errno に EDOM が設定されます。
tgamma 関数は G(x) を戻します。