Double-precision floating point (±1.7E±308, ~15 decimal digits)
1st Parameter
The input value for which the hyperbolic sine is to be calculated.
Read more about parameters of sinh in parameters section
The sinhfunction in C language Calculates the hyperbolic sine of the specified number.
The sinh function computes the hyperbolic sine of x. It is defined mathematically as (e^x - e^-x) / 2, where e is Euler's number (approximately 2.71828).
The sinhfunction takes 1
parameter:
•
double `x`: The input value for which the hyperbolic sine is to be calculated.
Calculates the hyperbolic sine of the input `x`, defined as `(e^x - e^-x) / 2`. Returns the result as a `double`. The result is unbounded, depending on the magnitude of `x`.
The sinh function return value :
Returns the hyperbolic sine of x
If the result is too large to be represented, a range error occurs and the function returns ±HUGE_VAL (with the same sign as x)
Output
This example calculates the hyperbolic sine of 1.0.