Skip to content

Returns the arc tangent of y/x, using the signs to determine the quadrant.

func.atan2(<y>, <x>)
func.atan2(1, 1)
┌────────────────────┐
│ 0.7853981633974483 │
└────────────────────┘
ATAN2(<y>, <x>)
SELECT ATAN2(1, 1);
┌────────────────────┐
│ 0.7853981633974483 │
└────────────────────┘