ATANH
— Inverse hyperbolic tangent function ¶RESULT = ATANH(X)
ATANH(X)
computes the inverse hyperbolic tangent of X.
Elemental function
X | The type shall be REAL or COMPLEX . |
The return value has same type and kind as X. If X is complex, the imaginary part of the result is in radians and lies between -\pi/2 \leq \Im \atanh(x) \leq \pi/2.
PROGRAM test_atanh REAL, DIMENSION(3) :: x = (/ -1.0, 0.0, 1.0 /) WRITE (*,*) ATANH(x) END PROGRAM
Name | Argument | Return type | Standard |
---|---|---|---|
DATANH(X) | REAL(8) X | REAL(8) | GNU extension |
Fortran 2008 and later
Inverse function:
TANH
— Hyperbolic tangent function