pub fn acos(x: f64) -> f64 ⓘ
Available on crate feature
dep_js_sys
only.Expand description
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