Lines Matching refs:denominator
163 float denominator = dot00 * dot11 - dot01 * dot01;
164 if (!denominator)
168 float inverseDenominator = 1.0f / denominator;
326 // Divides the numerator by the denominator safely for the case where
329 bool safeUnitDivide(float numerator, float denominator, float& ratio)
332 // Make the "numerator >= denominator" check below work.
334 denominator = -denominator;
336 if (!numerator || !denominator || numerator >= denominator)
338 float r = numerator / denominator;
342 if (!r) // catch underflow if numerator <<<< denominator