Name

ArcTan Function

Syntax

function ArcTan(Number: Floating-point type): Extended;

Description

The ArcTan function returns the arctangent in radians of Number. The ArcTan function is built-in.

Tips and Tricks

  • 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).

See Also

Cos Function, Sin Function
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset