ArcTan Function
The ArcTan
function returns the arctangent in
radians of Number
. The ArcTan
function is built-in.
Delphi automatically converts Integer
and
Variant
arguments to floating-point. To convert an
Int64
argument to floating-point, add 0.0.
If Number
is positive infinity, the result is
/2 (or more accurately, Delphi’s best approximation of
/2); if Number
is negative infinity, the
result is an approximation of -/2.
If Number
is a quiet NaN, the result is
Number
.
If Number
is a signaling NaN,
Arctan
reports runtime error 6
(EInvalidOp
).