function
<cmath> <ctgmath>

asinh

     double asinh  (double x);
      float asinhf (float x);
long double asinhl (long double x);
     double asinh (double x);
      float asinh (float x);
long double asinh (long double x);
     double asinh (T x);           // additional overloads for integral types
Compute area hyperbolic sine
Returns the area hyperbolic sine of x.

The area hyperbolic sine is the inverse operation of the hyperbolic sine.

Header <tgmath.h> provides a type-generic macro version of this function.
Additional overloads are provided in this header (<cmath>) for the integral types: These overloads effectively cast x to a double before calculations (defined for T being any integral type).

This function is also overloaded in <complex> (see complex asinh).

Parameters

x
Value whose area hyperbolic sine is computed.

Return Value

Area hyperbolic sine of x.

Example

1
2
3
4
5
6
7
8
9
10
11
12
/* asinh example */
#include <stdio.h>      /* printf */
#include <math.h>       /* asinh, exp, cosh */

int main ()
{
  double param, result;
  param = exp(2) - cosh(2);
  result = asinh(param) ;
  printf ("The area hyperbolic sine of %f is %f.\n", param, result);
  return 0;
}


Output:

The area hyperbolic sine of 3.626860 is 2.000000.

See also