Atan2
- Parameters
-
y real
x real
- comment
-
Arctangent function with two arguments. The result is returned in radians in range (-Pi;Pi]. Returns 0 if x and y are both 0
- pure
- This function is pure. For the same values passed to it, it will always return the same value.
- patch
-
1.00
- Source
- common.j (suggest an edit or discuss on Github)
- return type
-
real
- Source code
-
native Atan2 takes real y, real x returns real