Calculates the inverse trigonometric cosine (arccosine or arccos) of a real number. The value returned is the principal value and lies in the range [0,π] radians.