angle

The heading of this free vector — its raw polar angle, measured counter-clockwise from the positive X direction, in (−180°, 180°].

atan2(py, px), raw at full Double precision and blind to the vector's length. The negative-X heading answers +π, matching Angle.canonical's range; the zero direction answers 0.0.