语言

MathF.Atanh(Single) 方法

定义

返回其双曲正切值为指定数字的角度。

public:
 static float Atanh(float x);
public static float Atanh(float x);
static member Atanh : single -> single
Public Shared Function Atanh (x As Single) As Single

参数

x
Single

一个表示双曲正切的数字,其中 x 必须大于或等于 -1,但小于或等于 1。

返回

角度,л,以弧度度量,使 -∞ < л -1 或 1 < л << ∞。

-或-

NaN 如果 x< -1 或 x> 1 或 x 等于 NaN。

注解

将返回值乘以 180/,MathF.PI 以从弧度转换为度。

此方法调用基础 C 运行时,确切的结果或有效输入范围在不同操作系统或体系结构之间可能有所不同。

适用于