atan2 Function

Calculates the arctangent of _Y/_X

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

Parameters

  • _Y
    Floating-point value

  • _X
    Floating-point value

Return Value

Returns the arctangent value of _Y/_X

Requirements

Header: amp_math.h

Namespace: Concurrency::precise_math

See Also

Reference

Concurrency::precise_math Namespace