ATAN

Description

Function that returns the arctangent in radians of the number sent as a parameter (ATAN in Transact-SQL).

The arctangent is the inverse function of the tangent, summarized in the next definition: y=arctan1x=tan(x)y = arctan^{-1} \Leftrightarrow x = tan(x)

For y=tan1(x)y = tan^{-1}(x): - Range: π2yπ2-\frac{\pi}{2}\leqslant y \leqslant \frac{\pi}{2} or 90y90-90^{\circ}\leqslant y \leqslant 90^{\circ} - Domain: R\mathbb{R}

Sample Source Pattern

Syntax

ATAN( expression )

Arguments

expression: Numeric float expression, or a numeric type which could be converted to float.

Return Type

Numeric float expression between π2-\frac{\pi}{2} and π2\frac{\pi}{2}.

Examples

SELECT ATAN(-30);

Last updated