acos function

num acos(
  1. num x
)

Computes the arc cosine of the value x.

The returned value is an angle in the range from 0.0 to PI radians.

Implementation

num acos(num x) => math.acos(x);