TANH(3f)

DESCRIPTION
TANH(X) computes the hyperbolic tangent of X.

STANDARD
Fortran 77 and later, for a complex argument Fortran 2008 or later

CLASS
Elemental function

SYNTAX
X = TANH(X)

ARGUMENTS

X The type shall be REAL or COMPLEX.

RETURN VALUE
The return value has same type and kind as X. If X is complex, the imaginary part of the result is in radians. If X is REAL, the return value lies in the range
 - 1 <=q tanh(x) <=q 1 .

EXAMPLE
          program test_tanh
            real(8) :: x = 2.1_8
            x = tanh(x)
          end program test_tanh

SPECIFIC NAMES

Name Argument Return type Standard TANH(X) REAL(4) X REAL(4) Fortran 95 and later DTANH(X) REAL(8) X REAL(8) Fortran 95 and later

SEE ALSO
ATANH

AUTHOR

This information was taken from the GFortran documentation (https://gcc.gnu.org/onlinedocs/gcc-5.3.0/gfortran/) and converted to a manpage by AstroFloyd (http://astrofloyd.org).