pub fn mul_div_u32(a: u32, b: u32, divisor: u32) -> u32Expand description
Exact floor(a * b / divisor) when the quotient fits u32.
Requires a nonzero divisor. R3000 MULTU supplies both product words; ordinary products use native 32-bit DIVU, and only overflowing products need the two-word restoring division. No compiler wide-division helper.