Home C&C++函数库 c++ 语法 程序源码 Linux C库

asinh

函数  <cmath> <ctgmath>

C99 double asinh (double x);
float asinhf (float x);
long double asinhl (long double x);
C++11 double asinh (double x);
float asinh (float x);
long double asinh (long double x);
double asinh (T x);    // additional overloads for integral types

计算反双曲正弦
返回x的 反双曲正弦。
反双曲正弦是双曲正弦的逆运算.
C99 头文件<tgmath.h> 提供了该函数的类型泛型宏版本。
C++11 这个头文件(<cmath>) 为整型提供了额外的重载:这些重载在计算之前将x转换为double (在T是任何整型时定义)。
这个函数在<complex> 中也重载(参见complex asinh)。

☲  参数


x
计算其反双曲正弦值。

☉  返回值



x的反双曲正弦。

☣  示例



/* 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;
}

输出:
The area hyperbolic sine of 3.626860 is 2.000000.

🍄  另请参阅



sinh 双曲正弦(function )
acosh 反双曲余弦(function )


联系我们 免责声明 关于CandCplus 网站地图