js_sys::Math

Function asin

Source
pub fn asin(x: f64) -> f64
Expand description

The Math.asin() function returns the arcsine (in radians) of a number, that is ∀x ∊ [-1;1] Math.asin(x) = arcsin(x) = the unique y∊[-π2;π2] such that sin(y) = x

MDN documentation