Sign in Join
FPDoc Onlineexperiment

ArcTan function

In unit System

Calculate inverse tangent.

Declaration

pascal
function ArcTan(d: ValReal): ValReal

Description

Arctan returns the Arctangent of X, which can be any Real type. The resulting angle is in radial units.

Errors

None

See also

Example: ex4

pascal
Program Example4;

{ Program to demonstrate the ArcTan function. }

Var R : Real;

begin
  R:=ArcTan(0);      { R:=0 }
  R:=ArcTan(1)/pi;   { R:=0.25 }
end.

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.