TANH(3) NEWLIB TANH(3)NAME
1.56 `tanh', `tanhf'--hyperbolic tangent
SYNOPSIS
#include <math.h>
double tanh(double X);
float tanhf(float X);
DESCRIPTION
`tanh' computes the hyperbolic tangent of the argument X. Angles are
specified in radians.
`tanh(X)' is defined as
sinh(X)/cosh(X)
`tanhf' is identical, save that it takes and returns `float' values.
RETURNS
The hyperbolic tangent of X is returned.
PORTABILITY
`tanh' is ANSI C. `tanhf' is an extension.
SEE ALSO
tanh is part of the library. The full documentation for is maintained
as a Texinfo manual. If info and are properly installed at your site,
the command
info
will give you access to the complete manual.
NEWLIB April 2010 TANH(3)