Skip to main content

Categories: Math

ATAN

Computes the arctangent (inverse tangent) of a value.

Syntax​

ATAN(inputValue NUMERIC) → DOUBLE​

  • inputValue: Numeric value.

Examples

ATAN example
SELECT ATAN(0)
-- 0.0
ATAN example
SELECT ATAN(1)
-- 0.7853981633974483
ATAN example
SELECT ATAN(-1)
-- -0.7853981633974483
ATAN example
SELECT ATAN(19564.7)
-- 1.5707452143321894
Return NULL for a NULL input
SELECT ATAN(NULL)
-- null