devela::_dep::js_sys::Math

Function sqrt

Source
pub fn sqrt(x: f64) -> f64 
Available on crate feature dep_js_sys only.
Expand description

The Math.sqrt() function returns the square root of a number, that is ∀x ≥ 0, Math.sqrt(x) = √x = the unique y ≥ 0 such that y^2 = x

MDN documentation