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 < θ < ∞。

-或-

如果 x< -1 或 x> 1 或 x 等於 NaN,則為 NaN

備註

將傳回值乘以 180/ MathF.PI 以從弧度轉換為度。

此方法會呼叫基礎 C 執行時間,而確切的結果或有效輸入範圍可能會不同作業系統或架構之間的差異。

適用於