Table of Contents

acos

Description

Calculate the arccosine of a cosine value.

Function prototype

double acos <double:value>

Arguments

Name Type Comment
value double A cosine value, the arccosine of which is to be calculated.

Return value

The arccosine of the cosine value, as a double-precision angle, in radians.

Example

echo <zs:RadToDeg <zs:acos 0.5>> // acos of 0.5 should be 60 degrees

… the output of which is written to the event log by echo as:

60

Comments

None.

See also