1tanh(3M)                Mathematical Library Functions                tanh(3M)
2
3
4

NAME

6       tanh, tanhf, tanhl - hyperbolic tangent function
7

SYNOPSIS

9       c99 [ flag... ] file... -lm [ library... ]
10       #include <math.h>
11
12       double tanh(double x);
13
14
15       float tanhf(float x);
16
17
18       long double tanhl(long double x);
19
20

DESCRIPTION

22       These functions compute the hyperbolic tangent of their argument x.
23

RETURN VALUES

25       Upon  successful completion, these functions return the hyperbolic tan‐
26       gent of x.
27
28
29       If x is NaN, a NaN is returned.
30
31
32       If x is ±0, x is returned.
33
34
35       If x is ±Inf, ±1 is returned.
36

ERRORS

38       No errors are defined.
39

ATTRIBUTES

41       See attributes(5) for descriptions of the following attributes:
42
43
44
45
46       ┌─────────────────────────────┬─────────────────────────────┐
47       │      ATTRIBUTE TYPE         │      ATTRIBUTE VALUE        │
48       ├─────────────────────────────┼─────────────────────────────┤
49       │Interface Stability          │Standard                     │
50       ├─────────────────────────────┼─────────────────────────────┤
51       │MT-Level                     │MT-Safe                      │
52       └─────────────────────────────┴─────────────────────────────┘
53

SEE ALSO

55       atanh(3M),  isnan(3M),  math.h(3HEAD),  tan(3M),  attributes(5),  stan‐
56       dards(5)
57
58
59
60SunOS 5.11                        12 Jul 2006                         tanh(3M)
Impressum