MathF.Acosh(Single) 方法

定義

傳回雙曲線餘弦函數是指定數字的角。

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

參數

x
Single

代表雙曲線餘弦函數的數字,其中 x 必須大於或等於 1,但小於或等於 PositiveInfinity

傳回

以弧度為單位的角度 θ,其滿足下列條件 0 ≤ θ ≤ ∞。

-或-

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

備註

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

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

適用於