+-------------------------------IBM Extension--------------------------------+
Gamma function.
Class
Elemental function
Result Type and Attributes
Same as X.
Result Value
The result has a value that approximates Gamma(X).
Examples
GAMMA (1.0) has the value 1.0.
GAMMA (10.0) has the value 362880.0 (approximately).
Specific Name | Argument Type | Result Type | Pass As Arg? |
---|---|---|---|
GAMMA (1) | default real | default real | yes |
DGAMMA (2) | double precision real | double precision real | yes |
QGAMMA (3) | REAL(16) | REAL(16) | yes |
X must satisfy the inequality:
+----------------------------End of IBM Extension----------------------------+