Important: The information in this document is obsolete and should not be used for new development.
sinh
You can use thesinh
function to compute the hyperbolic sine of a real number.
double_t sinh (double_t x);
x
- Any floating-point number.
DESCRIPTION
Thesinh
function returns the hyperbolic sine of its argument. This function is antisymmetric.The
asinh
function performs the inverse operation .EXCEPTIONS
When x is finite and nonzero, the result of might raise one of the following exceptions:
- inexact (for all finite, nonzero values of x)
- overflow (if the result is outside the range of the data type)
- underflow (if the result is inexact and must be represented as a denormalized number or 0)
SPECIAL CASES
Table 10-28 shows the results when the argument to thesinh
function is a zero, a NaN, or an Infinity.
Special cases for the sinh
functionOperation Result Exceptions raised +0 None None NaN None[50] + None None EXAMPLES
sinh(1.0); /* z 1.175201. The inexact exception is raised. */ sinh(-1.0); /* z -1.175201. The inexact exception is raised. */
[50] If the NaN is a signaling NaN, the invalid exception is raised.