pub fn f_cathetus(x: f64, y: f64) -> f64Expand description
Computes the missing leg of a right triangle
Given a hypotenuse x and a known leg y, returns
sqrt(x^2 - y^2) = the length of the other leg.
Domain: requires |x| >= |y|. Returns NaN if the input
is outside this range.