Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.firebolt.io/llms.txt

Use this file to discover all available pages before exploring further.

Two-argument arc tangent function. Calculates the angle, in radians, between the specified positive x-axis value and the ray from the origin to the point (y,x).

Syntax

ATAN2(<value_y>,<value_x>)

Parameters

ParameterDescriptionSupported input types
<value_y>The y value in the arc tangent calculationDOUBLE PRECISION
<value_x>The x value in the arc tangent calculationDOUBLE PRECISION

Return Type

DOUBLE PRECISION

Example

The following example calculates the arc tangent of the values 11 and 3: