cosh(x)
computes the hyperbolic cosine of x
.
FORTRAN 77 and later, for a complex argument Fortran 2008 or later
x = cosh(x)
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. If x
is real
, the return value has a lower bound of one, .
program test_cosh
real(8) :: x = 1.0_8
x = cosh(x)
end program test_cosh
Inverse function: acosh