Syntax

 

<arctangent function> ::=

 

|

 

ATAN ( <numeric value expression> )

{ ATN2 | ATAN2 } ( <numeric value expression> , <numeric value expression> )

 

 

Notes

 

The ATAN function returns the angle in radians, whose tangent is the value of the argument.



 

The ATAN2 function returns the angle in radians, whose tangent is between the values of the two arguments.



 

The data type of the result is DOUBLE PRECISION.



 

If either of the arguments are null, then the result is null.



 

 

Examples

 

Expression

 

Result

 

ATAN( 2.75 )

1.222025..

ATAN2( 2.75, 7.3525 )

0.357913..

 

 


 

Conformance

 

NexusDB extensions

-

-

ATAN function

ATAN2 function