Facebook Page Twitter Page LinkedIn Page
× C Tutorial C Resources


The C math asinh() function is used to return inverse hyperbolic sine of a value. The hyperbolic sine of x is defined as:

asinh

Syntax

double asinh(double x);
float asinhf(float x);
long double asinhl(long double x);

Parameters

x Specify the value.

Return Value

Returns the inverse hyperbolic sine of a value.

Example:

In the below example, asinh() function is used to find out the inverse hyperbolic sine of a value.

#include <stdio.h>
#include <math.h>
 
int main (){
  printf("%lf\n", asinh(0));
  printf("%lf\n", asinh(2));
  printf("%lf\n", asinh(4));
  return 0;
}

The output of the above code will be:

0.000000
1.443635
2.094713

❮ C <math.h> Library