Clicky

Fortran Wiki
asinh

Description

asinh(x) computes the inverse hyperbolic sine of x.

Standard

Fortran 2008 and later

Class

Elemental function

Syntax

result = asinh(x)

Arguments

  • x - The type shall be real or complex.

Return value

The return value is of the same type and kind as x. If x is complex, the imaginary part of the result is in radians and lies between π/2Imasinh(x)π/2-\pi/2 \leq \mathop{Im}{\asinh(x)} \leq \pi/2.

Example

program test_asinh
  real(8), dimension(3) :: x = (/ -1.0, 0.0, 1.0 /)
  write (*,*) asinh(x)
end program

See also

Inverse function: sinh

category: intrinsics