Calculates arccosine (inverse cosine) of a value.
This function computes the angle whose cosine equals the input value. The input value must be in the range [-1, 1].