Math.Atanh(Double) 方法

定义

返回双曲正切值为指定数字的角度。Returns the angle whose hyperbolic tangent is the specified number.

public:
 static double Atanh(double d);
public static double Atanh (double d);
static member Atanh : double -> double
Public Shared Function Atanh (d As Double) As Double

参数

d
Double

一个表示双曲正切值的数字,其中 d 必须大于等于 -1 但小于等于 1。A number representing a hyperbolic tangent, where d must be greater than or equal to -1, but less than or equal to 1.

返回

Double

角度 θ,以弧度为单位,满足 -∞ < θ <-1 或 1 < θ < ∞。An angle, θ, measured in radians, such that -∞ < θ < -1, or 1 < θ < ∞.

- 或 --or- 如果 d < -1 或 d > 1 或 d 等于 NaN,则为 NaNNaN if d < -1 or d > 1 or d equals NaN.

注解

将返回值乘以 180/ Math.PI ,以将弧度转换为度。Multiply the return value by 180/Math.PI to convert from radians to degrees.

此方法调入基础 C 运行时,并且不同的操作系统或体系结构的确切结果或有效输入范围可能不同。This method calls into the underlying C runtime, and the exact result or valid input range may differ between different operating systems or architectures.

适用于