Computes the hyperbolic sine.
#include <math.h> double sinh(double x); float sinhf(float); long double sinhl(long double);
x
A floating-point value.
These functions compute the hyperbolic sine of x. These functions may assign ERANGE to errno if x is out of range. Use fpclassify() to check the validity of the results returned by these functions.
This facility may not be available on configurations of the EWL that run on platforms that do not have floating-point math capabilities.
#include <math.h> #include <stdio.h> int main(void) { double x = 0.5; printf("Hyperbolic sine of %f is %f.\n", x, sinh(x)); return 0; } Output: Hyperbolic sine of 0.500000 is 0.521095.