devela::_dep::web_sys::js_sys::Math

Function hypot

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

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

MDN documentation