[Previous] [Contents] [Next]

sinh(), sinhf()

Compute the hyperbolic sine

Synopsis:

#include <math.h>

double sinh( double x );

float sinhf( float x );

Library:

libm

Description:

The sinh() and sinhf() functions compute the hyperbolic sine (specified in radians) of x. A range error occurs if the magnitude of x is too large.

Returns:

The hyperbolic sine value.

Examples:

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

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

    return( EXIT_SUCCESS );
  }

produces the output:

0.521095

Classification:

ANSI

Safety:
Cancellation point No
Interrupt handler No
Signal handler No
Thread Yes

See also:

cosh(), errno, tanh()


[Previous] [Contents] [Next]