referrerpolicy=no-referrer-when-downgrade

Function check_mul

Source
pub(crate) fn check_mul<P>(n: u128, d: u128)
where P: PerThing + Mul<u128, Output = u128>,
Expand description

Checks that (n / d) * d <= n.