Fortran Wiki
atanh

Description

atanh(x) computes the inverse hyperbolic tangent of x.

Standard

Fortran 2008 and later

Class

Elemental function

Syntax

result = atanh(x)

Arguments

  • x - The type shall be real or complex.

Return value

The return value has same type and kind as x.

Example

program test_atanh
  real, dimension(3) :: x = (/ -1.0, 0.0, 1.0 /)
  write (*,*) atanh(x)
end program

See also

Inverse function: tanh

category: intrinsics