tanh(3M)
NAME
tanh − hyperbolic tangent function
SYNOPSIS
cc [ flag ... ] file ... −lm [ library ... ]
#include <math.h>
double tanh(double x);
DESCRIPTION
The tanh() function computes the hyperbolic tangent of x.
RETURN VALUES
Upon successful completion, tanh() returns the hyperbolic tangent of x.
If x is NaN, NaN is returned.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
| MT-Level | MT-Safe |
SEE ALSO
atanh(3M), isnan(3M), tan(3M), attributes(5)
SunOS 5.6 — Last change: 29 Dec 1996