sinh
, sinhf
—hyperbolic sineSynopsis
#include <math.h> double sinh(double x); float sinhf(float x);
Description
sinh
computes the hyperbolic sine of the argument x.
Angles are specified in radians. sinh
(x) is defined as
(exp(x) - exp(-x))/2
sinhf
is identical, save that it takes and returns float
values.
Returns
The hyperbolic sine of x is returned.
When the correct result is too large to be representable (an
overflow), sinh
returns HUGE_VAL
with the
appropriate sign, and sets the global value errno
to
ERANGE
.
Portability
sinh
is ANSI C.
sinhf
is an extension.