Hinweis:Dieser Abschnitt ist nur in englischer Sprache verfügbar. Wir bitten um Ihr Verständnis.

3.5.1.2.30 Tanh

Contents

Desctription

The tanh(x) function is the hyperbolic form of and tan(x).

Syntax

double tanh(double x)

Parameters

x

x is any real number. Note that numbers whose absolute value is greater than about 710 return 1/-1.

Return

Returns the hyperbolic tangent of x.

Example

val = tanh(10); // val will have a value of ~0.99999999587769

See Also

Sinh, Cosh, Coth, Sech, Csch