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 命名空间