blob: 66d78ab88fc75e7cb88e8c1f764c8a1989456195 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001SYNOPSIS
Zesstrad59c3892019-11-28 20:53:39 +01002 float atan2(int|float y, int|float x)
MG Mud User88f12472016-06-24 23:31:02 +02003
Zesstra715ec202025-07-09 22:18:31 +02004DESCRIPTION
5 Returns the angle part of the polar coordinates of the point (x, y)
6 in the range (-pi, pi].
MG Mud User88f12472016-06-24 23:31:02 +02007
Zesstra715ec202025-07-09 22:18:31 +02008 Note the exchange of the coordinates x and y in the parameter list
9 reflecting the sequenz in the gradient to angle transformation
10 atan(y / x).
MG Mud User88f12472016-06-24 23:31:02 +020011
Zesstra715ec202025-07-09 22:18:31 +020012HISTORY
13 LDMud 3.2.9 added integers as arguments.
MG Mud User88f12472016-06-24 23:31:02 +020014
Zesstra715ec202025-07-09 22:18:31 +020015SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020016 sin(E), cos(E), tan(E), asin(E), acos(E), atan(E)