1TANH(3) Linux Programmer's Manual TANH(3)
2
3
4
6 tanh, tanhf, tanhl - hyperbolic tangent function
7
9 #include <math.h>
10
11 double tanh(double x);
12 float tanhf(float x);
13 long double tanhl(long double x);
14
15 Link with -lm.
16
18 The tanh() function returns the hyperbolic tangent of x, which is
19 defined mathematically as sinh(x) / cosh(x).
20
22 SVr4, 4.3BSD, C89. The float and long double variants are C99 require‐
23 ments.
24
26 acosh(3), asinh(3), atanh(3), cosh(3), ctanh(3), sinh(3)
27
28
29
30 2002-07-27 TANH(3)