double acos(num x)

Converts x to a double and returns its arc cosine in radians.

Returns a value in the range 0..PI, or NaN if x is outside the range -1..1.

Source

external double acos(num x);