XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Cosh()

Function Cosh ( X As  Double,
Optional Info As  Long 
)

cosh(x)

Purpose
Computes the hyperbolic cosine of x.
cosh(x) = (exp(x) + exp(-x))/2
Returns
Double
cosh(x).
Parameters
[in]XArgument x.
[out]Info(Optional)
= 0: Successful exit.
= 1: Floating point range error.