
atan2 - Wikipedia
atan2 (y, x) returns the angle θ between the positive x -axis and the ray from the origin to the point (x, y), confined to (−π, π]. In computing and mathematics, the function atan2 is the 2- argument arctangent.
Math.atan2 () - JavaScript | MDN
Dec 29, 2025 · The Math.atan2() method measures the counterclockwise angle θ, in radians, between the positive x-axis and the point (x, y). Note that the arguments to this function pass the y-coordinate …
atan2, atan2f, atan2l - cppreference.com
Apr 3, 2023 · atan2(y, x) is equivalent to carg(x + I*y). POSIX specifies that in case of underflow, y / x is the value returned, and if that is not supported, an implementation-defined value no greater than …
ATAN2 function calculator and graph - MedCalc Manual
ATAN2 (y, x) returns the arc tangent of the two numbers x and y. It is similar to calculating the arc tangent of y / x, except that the signs of both arguments are used to determine the quadrant of the …
atan2 - Four-quadrant inverse tangent - MATLAB - MathWorks
P = atan2(Y,X) returns the four-quadrant inverse tangent (tan -1) of Y and X, which must be real. The atan2 function follows the convention that atan2(x,x) returns 0 when x is mathematically zero (either …
atan, atanf, atanl, atan2, atan2f, atan2l | Microsoft Learn
Jul 9, 2025 · The atan function calculates the arctangent (the inverse tangent function) of x. atan2 calculates the arctangent of y / x (if x equals 0, atan2 returns π/2 if y is positive, -π/2 if y is negative, …
Atan2 Calculator - Sage Calculator
Use our Atan2 Calculator to compute the arctangent of two variables (y, x) and find angles in radians or degrees for any coordinate.
C Math atan2 () Function - W3Schools
Return the angle in radians of the polar coordinates given rectangular coordinates: The atan2() function returns the angle theta in radians from the conversion of rectangular coordinates (x, y) to polar …
Online calculator: atan2
The calculator displays atan2 function result in degrees, radians and graphically.
atan2 - Open Group
The function below uses atan2 () to convert a 2d vector expressed in cartesian coordinates (x, y) to the polar coordinates (rho, theta). There are other ways to compute the angle theta, using asin () acos (), …