TANH

Elemental Intrinsic Function (Generic): Produces a hyperbolic tangent.

Syntax

result = TANH (x)

x
(Input) Must be of type real.

Results:

The result type is the same as x.

Specific Name Argument Type Result Type
TANHREAL(4) REAL(4)
DTANH REAL(8) REAL(8)
QTANH 1 REAL(16) REAL(16)
1 VMS and U*X

Examples

TANH (2.0) has the value 0.9640276.

TANH (0.8) has the value 0.6640368.