Go to the first, previous, next, last section, table of contents.
#include <math.h> double tanh(double x);
This function computes the hyperbolic tangent of x.
The hyperbolic tangent of x. If x is either a positive or a
negative infinity, the result is unity with the same sign as x,
and errno
is not changed. If x is NaN
, the return
value is NaN
and errno
is set to EDOM
.
ANSI, POSIX
Go to the first, previous, next, last section, table of contents.