NAME
tanh, tanhf, tanhl - hyperbolic tangent function
SYNOPSIS
#include <math.h>
I double tanh(double x );
I float tanhf(float x );
I long double tanhl(long double x );
Link with
-lm.
DESCRIPTION
The
R tanh ()
function returns the hyperbolic tangent of x, which
is defined mathematically as sinh(x) / cosh(x).
CONFORMING TO
SVr4, 4.3BSD, C89.
The
float
and
long double
variants are C99 requirements.
SEE ALSO