feat(big): add SBigDiv

This commit is contained in:
Adam Heinermann 2024-11-15 07:52:35 -08:00 committed by superp00t
parent 149a739a9d
commit 328bbf61d8
4 changed files with 80 additions and 5 deletions

View file

@ -409,7 +409,7 @@ void Sub(BigBuffer& a, const BigBuffer& b, uint32_t c) {
uint32_t i = 0;
for (; b.IsUsed(i); i++) {
borrow += b[i] - static_cast<uint64_t>(c);;
borrow += b[i] - c;
a[i] = ExtractLowPartSx(borrow);
}