System.Math.ArcCos

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ArcCos(const X : Extended) : Extended; overload;
function ArcCos(const X : Double) : Double; overload;
function ArcCos(const X : Single) : Single; overload;

C++

extern DELPHI_PACKAGE System::Extended __fastcall ArcCos(const System::Extended X)/* overload */;

Properties

Type Visibility Source Unit Parent
function public
System.Math.pas
System.Math.hpp
System.Math System.Math

Description

Calculates the inverse cosine of a given number.

ArcCos returns the inverse cosine of X.

X must be between -1 and 1.

The return value is in the range [0..Pi], in radians.

See Also