[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

9.12 ArcTan

Synopsis

 
function ArcTan (x: Real): Real;
or
 
function ArcTan (z: Complex): Complex;

Description

`ArcTan' returns the (principal value of the) arcus tangent of the argument. The result is in the range `-Pi / 2 < ArcTan (x) < Pi / 2' for real arguments.

Conforming to

The function `ArcTan' is defined in ISO-7185 Pascal; its application to complex values is defined in ISO-10206 Extended Pascal.

Example

 
program ArcTanDemo;
begin
  { yields 3.14159 as ArcTan (1) = Pi / 4 }
  WriteLn (4 * ArcTan (1) : 0 : 5)
end.

See also

section 9.255 Sin, section 9.54 Cos, section 9.135 Ln, section 9.13 Arg.



This document was generated by Frank Heckenbach on May, 10 2002 using texi2html