# libm.info: sinh

**Go forward to sqrt**

**Go backward to sin**

**Go up to Math**

**Go to the top op libm**

# `sinh', `sinhf'--hyperbolic sine

*Synopsis*
#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'.

You can modify error handling for these functions with `matherr'.

*Portability*
`sinh' is ANSI C. `sinhf' is an extension.

Created Mon Nov 8 17:42:56 2004 on tillpc with info_to_html version 0.9.6.