Skip to main content

hypot

Function hypot 

Source
pub fn hypot<F: Float>(x: F, y: F) -> F
Expand description

√(x² + y²), with no overflow or underflow in between. An infinite argument gives ∞, even beside NaN.