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 18df371 commit 0752471Copy full SHA for 0752471
libc/src/__support/big_int.h
@@ -1008,9 +1008,8 @@ struct BigInt {
1008
BigInt quotient;
1009
if (remainder >= divider) {
1010
BigInt subtractor = divider;
1011
- int cur_bit =
1012
- multiword::countl_zero(subtractor.val) -
1013
- multiword::countl_zero(remainder.val);
+ int cur_bit = multiword::countl_zero(subtractor.val) -
+ multiword::countl_zero(remainder.val);
1014
subtractor <<= static_cast<size_t>(cur_bit);
1015
for (; cur_bit >= 0 && remainder > 0; --cur_bit, subtractor >>= 1) {
1016
if (remainder < subtractor)
0 commit comments