| TANH(3) | Library Functions Manual | TANH(3) |
tanh, tanhf,
tanhl — hyperbolic tangent
function
Math Library (libm, -lm)
#include
<math.h>
double
tanh(double
x);
float
tanhf(float
x);
long double
tanhl(long
double x);
The
tanh()
tanhf()
and
tanhl()
functions compute the hyperbolic tangent of x. For a
discussion of error due to roundoff, see
math(3).
Upon successful completion, these functions return the hyperbolic tangent value. The following may also occur:
acos(3), asin(3), atan(3), atan2(3), cos(3), cosh(3), math(3), sin(3), sinh(3), tan(3)
The described functions conform to ISO/IEC 9899:1999 (“ISO C99”).
| September 18, 2011 | NetBSD 11.0 |