diff options
| author | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-06 17:50:34 +0200 |
|---|---|---|
| committer | Jeroen van Rijn <Kelimion@users.noreply.github.com> | 2021-08-11 20:59:53 +0200 |
| commit | 9890e7cfeb9473b85a50afdff357d493b6bcd264 (patch) | |
| tree | 51af3891e5f114f4ecfe98dbb11c19462f72a1b0 /core/math/big/logical.odin | |
| parent | 4be48973adc323838682d7f8e1f38b4082a48024 (diff) | |
big: Improved `zero_unused` helper.
Diffstat (limited to 'core/math/big/logical.odin')
| -rw-r--r-- | core/math/big/logical.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/math/big/logical.odin b/core/math/big/logical.odin index 3f3d9d6fe..bd6bcfc6e 100644 --- a/core/math/big/logical.odin +++ b/core/math/big/logical.odin @@ -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, }; |