JCL Help:ArcCos

From Project JEDI Wiki
Jump to navigationJump to search


Summary

Calculates the inverse cosine of X.


Pascal

 function ArcCos(X: Float): Float;


Parameters

Parameters Description
X: Float Value for which to calculate the inverse cosine. Absolute value of X must be smaller than 1.0.


Return Value

The inverse cosine of X in radians.


Description

ArcCos calculates the inverse cosine of X. Meaning it returns the angle whose cosine equals X. ArcCos is defined as ArcTan2(Sqrt(1.0 - X*X), X).


About

Unit

JclMath


Donator

Clayton Collie


Contribute to this help topic

This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page