Skip to content

Commit 18df371

Browse files
cf
1 parent d8f6fb4 commit 18df371

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

libc/src/__support/big_int.h

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1008,10 +1008,9 @@ struct BigInt {
10081008
BigInt quotient;
10091009
if (remainder >= divider) {
10101010
BigInt subtractor = divider;
1011-
// TODO: failure here
10121011
int cur_bit =
1013-
(multiword::countl_zero(subtractor.val) -
1014-
multiword::countl_zero(remainder.val));
1012+
multiword::countl_zero(subtractor.val) -
1013+
multiword::countl_zero(remainder.val);
10151014
subtractor <<= static_cast<size_t>(cur_bit);
10161015
for (; cur_bit >= 0 && remainder > 0; --cur_bit, subtractor >>= 1) {
10171016
if (remainder < subtractor)

0 commit comments

Comments
 (0)