sinh()

Returns the hyperbolic sine of a double value.

Syntax

sinh()

Usage

The hyperbolic sine of x is defined to be (ex - e-x)/2 where e is Euler's number.

Special cases:

  • If the value is NaN, then the result is NaN.
  • If the value is infinite, then the result is an infinity with the same sign as the value.
  • If the value is zero, then the result is a zero with the same sign as the value.

The computed result must be within 2.5 ulps of the exact result.