共用方式為


atan2f Function

Calculates the arctangent of _Y/_X

inline float atan2f(
   float _Y,
   float _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