Function js_sys::Math::hypot

source ·
pub fn hypot(x: f64, y: f64) -> f64
Expand description

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

MDN documentation