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

◆ Tanh()

Function Tanh ( X As  Double)

tanh(x)

Purpose
Computes the hyperbolic tangent of x.
tanh(x) = sinh(x)/cosh(x) = (exp(x) - exp(-x))/(exp(x) + exp(-x))
Returns
Double
tanh(x).
Parameters
[in]XArgument x.