Copyright © 1997 The Open Group

sinh - hyperbolic sine function

`#include <math.h> double sinh(double`

x);

Thesinh()function computes the hyperbolic sine ofx.An application wishing to check for error situations should set

errnoto 0 before callingsinh(). Iferrnois non-zero on return, or the return value is NaN, an error has occurred.

Upon successful completion,sinh()returns the hyperbolic sine ofx.If the result would cause an overflow, ±HUGE_VAL is returned and

errnois set to [ERANGE].If the result would cause underflow, 0.0 is returned and

errnomay be set to [ERANGE].If

xis NaN, NaN is returned anderrnomay be set to [EDOM].

Thesinh()function will fail if:

- [ERANGE]
- The result would cause overflow.
The

sinh()function may fail if:

- [EDOM]
- The value of
xis NaN.- [ERANGE]
- The result would cause underflow.
No other errors will occur.

None.

None.

None.

asinh(),cosh(),isnan(),tanh(),<math.h>.

Derived from Issue 1 of the SVID.

Copyright © 1997 The Open Group

[ Main Index | XSH | XCU | XBD | XCURSES | XNS ]