ATANH — Inverse hyperbolic tangent function#
-
ATANH(X)#
ATANH(X)computes the inverse hyperbolic tangent ofX.- Parameters:
X – The type shall be
REALorCOMPLEX.- Returns:
The return value has same type and kind as
X. IfXis complex, the imaginary part of the result is in radians and lies between -pi/2 leq Im atanh(x) leq pi/2.
- Standard:
Fortran 2008 and later
- Class:
Elemental function
- Syntax:
RESULT = ATANH(X)
- Example:
PROGRAM test_atanh REAL, DIMENSION(3) :: x = (/ -1.0, 0.0, 1.0 /) WRITE (*,*) ATANH(x) END PROGRAM
- Specific names:
Name
Argument
Return type
Standard
DATANH(X)REAL(8) XREAL(8)GNU extension
- See also:
Inverse function: TANH