devela::_dep::js_sys::Math

Function hypot

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

The Math.hypot() function returns the square root of the sum of squares of its arguments.

MDN documentation