Fortran Wiki
acosh

Description

acosh(x) computes the inverse hyperbolic cosine of x.

Standard

Fortran 2008 and later

Class

Elemental function

Syntax

result = acosh(x)

Arguments

  • x - the type shall be real or complex.

Return value

The return value has the same type and kind as x

Example

program test_acosh
  real(8), dimension(3) :: x = (/ 1.0, 2.0, 3.0 /)
  write (*,*) acosh(x)
end program

See also

Inverse function: cosh

category: intrinsics