Compute the hyperbolic sine
#include <math.h> double sinh( double x ); float sinhf( float x ); long double asinhl( long double x );
These functions compute the hyperbolic sine of x radians. A range error occurs if the magnitude of x is too large.
The hyperbolic sine value.
#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
| Safety: | |
|---|---|
| Cancellation point | No |
| Interrupt handler | No |
| Signal handler | No |
| Thread | Yes |