Skip to main content

hypot

Function hypot 

Source
pub fn hypot(x: f32, y: f32) -> f32
Expand description

Length of the hypotenuse of a right triangle with legs x and y, without the intermediate overflow of sqrt(x * x + y * y).