## ArcTan

Belongs to : Function### Description

The ArcTan function is a mathematical function giving the value in radians of the Arc Tangent of Number.

PI radians = 180 degrees

**Notes**

The System unit supports only the following angular functions:

ArcTan

Sin

Cos

Special floating point values INF, -INF yield +PI/2 and -PI/2 respectively.

#### Example code

1 2 3 4 5 6 7 8 9 10 |
var float : single; begin // The ArcTan of PI/2 should give 1.0 float := ArcTan(PI/2); ShowMessage('ArcTan of PI/2 = '+FloatToStr(float)); end; { ArcTan of PI/2 = 1.00388479232788 } |