SYNOPSIS

float atan2( int|float y, int|float x)

DESCRIPTION

Returns the angle part of the polar coordinates of the point (x, y) in the range (-pi, pi).

Note the exchange of the coordinates x and y in the parameter list reflecting the sequence in the gradient to angle transformation atan(y / x).

HISTORY

  • changed (3.2.9) – added integers as arguments