RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Math.ArcCos Function

Calculates the inverse cosine of a given number.

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

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!