Ads by ProfitSence

C++ asinh()

Last Updated on Wednesday 5th Oct 2022


The C++ asinh() function returns the arc hyperbolic sine of a number in radians and it takes a single argument.





The asinh() function takes a one argument which can be any value i.e. negative, positive or zero.

Return value

Returns a value inverse hyperbolic sine of the argument in radians.

asinh() prototype [As of C++ 11 standard]

					double asinh(double x);
float asinh(float x);
long double asinh(long double x);
double asinh(T x); // For integral type


arcsinh x

Example : C++ asinh()

					#include <stdio.h>
#include <math.h>

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



					The area hyperbolic sine of 4.400000 is 2.187422.