TANH(3) |
NetBSD Library Functions Manual |
TANH(3) |
NAME
tanh, tanhf — hyperbolic 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.
STANDARDS
The tanh() function conforms to ANSI X3.159-1989 (“ANSI C”).