std::tanh

From Cppreference

Jump to: navigation, search
Defined in header <cmath>

float       tanh( float arg );

double      tanh( double arg );

long double tanh( long double arg );

Computes hyperbolic tangent of arg

[edit] Parameters

arg - floating point value

[edit] Return value

hyperbolic tangent of arg

[edit] See also

sinh
computes hyperbolic sine (sh(x))
(function)
cosh
computes hyperbolic cosine (ch(x))
(function)
atanh (C++11)
hyperbolic arc tangent
(function)