sycamore::web::js_sys::Math

Function acos

source
pub fn acos(x: f64) -> f64
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

MDN documentation