Intel® Fortran Compiler 16.0 User and Reference Guide
Elemental Intrinsic Function (Generic): Produces a hyperbolic tangent.
result = TANH (x)
x |
(Input) Must be of type real. |
The result type and kind is the same as x.
Specific Name |
Argument Type |
Result Type |
---|---|---|
TANH |
REAL(4) |
REAL(4) |
DTANH |
REAL(8) |
REAL(8) |
QTANH |
REAL(16) |
REAL(16) |
TANH (2.0) has the value 0.9640276.
TANH (0.8) has the value 0.6640368.