Skip to content

ATAN

  • x: This is the numeric value whose arc tangent is to be calculated. The value of X must be within the range of -∞ to +∞. The resulting angle is in the range of -π/2 to +π/2, and is expressed in radians.
SELECT ATAN(1);
0.7853981633974483

The ATAN(1) function call in MySQL returns the arc tangent of 1, which is approximately 0.7854 in radian. ATAN returns the arc tangent of X that is, the value whose tangent is X.