Loading...
Select Version
&pagelevel(4)&pagelevel
Definition | #include <math.h> double sinh(double x); These functions compute the hyperbolic sine of the floating-point number x. | |
Return val. |
| for a floating-point value x, if successful. |
| depending on the function type and the sign of x, if an overflow occurs. In addition | |
Example | The following program outputs the hyperbolic sine of values in the range -1 to 1 (increment 0.1). #include <math.h>
#include <stdio.h>
int main(void)
{
double x;
for (x = -1.0; x < 1.0; x = x + 0.1)
printf(" sinh(%.2f) = %.4f \n ", x, sinh(x));
return 0;
}
| |
See also | cosh, asin, sin | |