TANH(3) | Library Functions Manual | TANH(3) |
tanh
— hyperbolic
tangent function
#include
<math.h>
double
tanh
(double
x);
long double
tanhl
(long
double x);
float
tanhf
(float
x);
The
tanh
()
function computes the hyperbolic tangent of x.
tanh
(±0)
returns ±0.
tanh
(±infinity)
returns ±1.
acos(3), asin(3), atan(3), atan2(3), cos(3), cosh(3), sin(3), sinh(3), tan(3), math(3)
The tanh
() function conforms to ISO/IEC
9899:2011.
December 11, 2006 | Mac OS X 12 |