Single.Atan2Pi(Single, Single) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算兩個值商的反正切值,並將結果除以 pi
。
public:
static float Atan2Pi(float y, float x) = System::Numerics::IFloatingPointIeee754<float>::Atan2Pi;
public static float Atan2Pi (float y, float x);
static member Atan2Pi : single * single -> single
Public Shared Function Atan2Pi (y As Single, x As Single) As Single
參數
- y
- Single
點的 Y 座標。
- x
- Single
點的 X 座標。
傳回
除以 的 y
反正切函數,除以 pi
。 x
實作
備註
arctan(y / x) / π
這會以間隔 [-1, +1]
計算。
適用於
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應