GNU/Linux |
CentOS 5.3 |
|
![]() |
tanh(3) |
![]() |
tanh, tanhf, tanhl − hyperbolic tangent function
#include <math.h>
double
tanh(double x);
float tanhf(float x);
long double tanhl(long double x);
Link with −lm.
The tanh() function returns the hyperbolic tangent of x, which is defined mathematically as sinh(x) / cosh(x).
SVr4, 4.3BSD, C89. The float and long double variants are C99 requirements.
acosh(3), asinh(3), atanh(3), cosh(3), ctanh(3), sinh(3)
![]() |
tanh(3) | ![]() |