acos

acos(number argument) → real result
Computes the arccos of argument, within [0, PI].

Computes the arc cosine of argument, in the interval [0, PI].

Parameters
Return
Examples

acos(0) // PI / 2 acos(0.5) // PI / 3 acos(-0.5) // 2 * PI / 3