函数 asinh #
计算值的双曲反正弦,定义为 asinh(x) = ln(x + sqrt(x^2 + 1))。
为避免与矩阵双曲反正弦混淆,此函数不适用于矩阵。
Syntax #
math.asinh(x)
Parameters #
| Parameter | Type | Description |
|---|---|---|
x |
number | BigNumber | Complex | 函数输入 |
Returns #
| Type | Description |
|---|---|
| number | BigNumber | Complex | x 的双曲反正弦 |
Throws #
Type | Description —- | ———–
Examples #
math.asinh(0.5) // returns 0.48121182505960347