atan2 函式

計算 _Y/_X 的反正切函式值

inline float atan2(
   float _Y,
   float _X
) restrict(amp);
inline double atan2(
   double _Y,
   double _X
) restrict(amp);

參數

  • _Y
    浮點數值

  • _X
    浮點數值

傳回值

傳回 _Y/_X 的反正切函式值

需求

標頭: amp_math.h

命名空間: Concurrency::precise_math

請參閱

參考

Concurrency::precise_math 命名空間