#C 语言标准库函数 asinhf
#include <math.h>
float asinhf(float x);
说明
计算实数的反双曲正弦。
定义域包含所有有限实数。
自 C99 起提供。
参数
x- 参与运算的实浮点值。
返回值
- 返回反双曲正弦的实数值。
#示例
使用 GCC 时,在链接命令末尾添加 -lm。
#include <math.h>
#include <stdio.h>
int main(void)
{
printf("%.9Lg\n", (long double)asinhf(1.0f));
return 0;
}