We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3eb08a commit 45aec94Copy full SHA for 45aec94
src/mul.rs
@@ -19,7 +19,7 @@ macro_rules! mul {
19
low += (t & lower_mask) << half_bits;
20
high += t >> half_bits;
21
high += (a.low() >> half_bits) * (b.low() >> half_bits);
22
- high += a.high().wrapping_mul(b.low()) + a.low().wrapping_mul(b.high());
+ high = high.wrapping_add(a.high().wrapping_mul(b.low()).wrapping_add(a.low().wrapping_mul(b.high())));
23
<$ty>::from_parts(low, high)
24
}
25
0 commit comments