[Previous]
[Contents]
[Next]

sinh()

compute the hyperbolic sine

Synopsis:

#include <math.h>
double sinh( double x );

Description:

The sinh() function computes the hyperbolic sine of x. A range error occurs if the magnitude of x is too large.

Returns:

The hyperbolic sine value.

When the argument is outside the permissible range, the matherr() function is called. Unless the default matherr() function is replaced, it will set the global variable errno to ERANGE, and print a "RANGE error" diagnostic message, using the stderr stream.

Examples:

#include <stdio.h>
#include <math.h>

void main()
  {
    printf( "%f\n", sinh(.5) );
  }

produces the output:

0.521095

Classification:

ANSI

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

cosh(), errno, tanh(), matherr()


[Previous]
[Contents]
[Next]