arcTan2

arcTan2(real: Real): Real;

The arcTan2 method of the Real primitive type returns the arc tangent (inverse tangent) of the real parameter divided by the receiver.

The method implements the atan2 mathematical function relating to the angle subtended by a point in the Cartesian plane.

angle := self.arcTan2(real);

An exception is raised if the receiver is invalid. The resulting value represents an angle in degrees.