C asinh function calculates the arc hyperbolic sine
Syntax
asinh
has the following declaration
float asinhf(float arg);
double asinh(double arg);
long double asinhl(long double arg);
Header
asinh
function is from header file math.h
.
Description
The return value from asinh
is the arc hyperbolic sine of arg
.
Example
The following code shows how to calculate the arc hyperbolic sine.
#include <math.h>
#include <stdio.h>
/* w w w.j a va 2 s . co m*/
int main(void)
{
printf("%f.\n", asinh(12));
return 0;
}
The code above generates the following result.