pub fn f_cathetusf(x: f32, y: f32) -> f32
Expand 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.