-
Notifications
You must be signed in to change notification settings - Fork 28
dos_atan2
Dale Fugier edited this page Nov 1, 2023
·
3 revisions
Calculates the arctangent (inverse tangent) of y/x.
(dos_atan2 y x)
y
The y value.
x
The x value.
The arctangent of y/x (if x equals 0, dos_atan2 returns π/2 if y is positive, -π/2 if y is negative, or 0 if y is 0) if successful.
nil on error.
Command: (dos_atan2 0.5 5.0)
0.0996687