語言

MathF.Cosh(Single) 方法

定義

返回指定角度的雙曲餘弦。

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

參數

x
Single

取雙曲餘弦的角度。

傳回

的雙曲餘弦值 x

備註

角度 x,必須以弧度為單位。 乘以 MathF.PI/180 即可轉換度數為弧度。

此方法會呼叫底層的 C 執行時,且不同作業系統或架構間的精確結果或有效輸入範圍可能有所不同。

適用於