mirror of
https://github.com/thunderbrewhq/squall.git
synced 2025-12-12 02:22:30 +00:00
feat(big): add SBigDiv
This commit is contained in:
parent
149a739a9d
commit
328bbf61d8
4 changed files with 80 additions and 5 deletions
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue