[src]

Function std::num::hypot

pub fn hypot<T: Float>(x: T, y: T) -> T

Calculate the length of the hypotenuse of a right-angle triangle given legs of length x and y.