View on GitHub

JODA - JSON On Demand Analysis

Efficient data wrangling for semi-structured JSON documents

ATAN2 - Mathematical

Calculates the ATAN2 of the given number

Input parameters

Name Type Optional Description
x Number False  
y Number False  

Output

*Number: ATAN2(x,y)*

Usage

ATAN2(<x>, <y>)

Examples

Example 1

Query

LOAD tmp
AS ('': ATAN2(1, 1))

Result

0.7853981633974483

Example 2

Query

LOAD tmp
AS ('': ATAN2(-1, -1))

Result

-2.356194490192345