pub fn acos(x: f64) -> f64
The Math.acos() function returns the arccosine (in radians) of a number, that is ∀x∊[-1;1] Math.acos(x) = arccos(x) = the unique y∊[0;π] such that cos(y)=x
Math.acos()
MDN documentation