TANH(3) Library Functions Manual TANH(3)
NAME
tanh, tanhfhyperbolic tangent function
LIBRARY
Math Library (libm, -lm)
SYNOPSIS
#include <math.h>
double
tanh(double x);
float
tanhf(float x);
DESCRIPTION
The tanh() and tanhf() functions compute the hyperbolic tangent of x. For a discussion of error due to roundoff, see math(3).
RETURN VALUES
The tanh() function returns the hyperbolic tangent value.
SEE ALSO
STANDARDS
The tanh() function conforms to ANSI X3.159-1989 (“ANSI C”).