語言

MathF.Atan(Single) 方法

定義

傳回正切函數 (Tangent) 是指定數字的角。

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

參數

x
Single

要拿走的數字。

傳回

阿坦 x

備註

正回傳值代表從 x 軸方向的逆時針角度;負的回傳值代表順時針角度。

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

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

適用於