acos

(acos <z>) computes the principal value of the arc cosine of <z>. A domain error occurs for arguments not in the range [-1, +1]. The arc cosine in the range [0, pi] radians is returned.

Example:

[1] (acos 1)
0.0
[2] (acos -1)
3.14159
[3]