ATAN2

Returns a DOUBLE PRECISION value representing the trigonometric inverse tangent of the arithmetic dividend of the arguments.

Behavior Type

Immutable

Syntax

ATAN2 ( quotient, divisor )

Parameters

quotient

Is an expression of type DOUBLE PRECISION representing the quotient

divisor

Is an expression of type DOUBLE PRECISION representing the divisor

Example

SELECT ATAN2(2,1);
      ATAN2       
------------------
 1.10714871779409
(1 row)