Difference between revisions of "Math.atan2"
From OpenEUO
Line 22: | Line 22: | ||
[[Math.tan]] | [[Math.tan]] | ||
+ | |||
+ | [[Math.tanh]] |
Latest revision as of 14:44, 9 October 2010
math.atan2 (y, x)
Returns the arc tangent of y/x (in radians), but uses the signs of both parameters to find the quadrant of the result. (It also handles correctly the case of x being zero.)