fn rescale_left<N: OverflowingOp>(
l: N,
mul: N,
r: N,
op: impl Fn(N, N) -> (N, bool),
) -> (N, bool)Expand description
Multiplies l by mul, then applies op, reporting whether either step
overflowed. With unequal scales only the operand with the smaller scale is
multiplied, because the other multiplier is one.