Hyperbolic tangent function.
Elemental function
Same as X.
The result value approximates tanh(X).
If X is of type complex, its imaginary part is considered a value in radians.
TANH(1.0) has the value 0.76159416, approximately.
TANH((1.000000, 0.000000)) has the value (0.761594, 0.000000), approximately.
Specific Name | Argument Type | Result Type | Pass As Arg? |
---|---|---|---|
TANH | default real | default real | yes |
DTANH | double precision real | double precision real | yes |
QTANH | REAL(16) | REAL(16) | yes 1 |
Note:
|