Intel® Fortran Compiler Classic and Intel® Fortran Compiler Developer Guide and Reference
A newer version of this document is available. Customers should click here to go to the newest version.
Visible to Intel only — GUID: GUID-85970011-13AF-448D-B613-93A895862198
Visible to Intel only — GUID: GUID-85970011-13AF-448D-B613-93A895862198
TANH
Elemental Intrinsic Function (Generic): Produces a hyperbolic tangent.
result = TANH (x)
x |
(Input) Must be of type real or complex. |
Results
The result type and kind are the same as x.
If x is of type complex, the imaginary part of the result is in radians.
Specific Name |
Argument Type |
Result Type |
---|---|---|
TANH |
REAL(4) |
REAL(4) |
DTANH |
REAL(8) |
REAL(8) |
QTANH |
REAL(16) |
REAL(16) |
Example
TANH (2.0) has the value 0.9640276.
TANH (0.8) has the value 0.6640368.