big: Improved zero_unused helper.
This commit is contained in:
1 parent
4be48973ad
commit
9890e7cfeb
8 files changed
+181
-149
No files matched your search
@@ -323,7 +323,7 @@ int_shr_digit :: proc(quotient: ^Int, digits: int) -> (err: Error) {
|
||||
quotient.digit[x] = quotient.digit[x + digits];
|
||||
}
|
||||
quotient.used -= digits;
|
||||
_zero_unused(quotient);
|
||||
zero_unused(quotient);
|
||||
return clamp(quotient);
|
||||
}
|
||||
shr_digit :: proc { int_shr_digit, };
|
||||
|
||||
Reference in new issue
Block a user