aboutsummaryrefslogtreecommitdiff
path: root/core/math/big/private.odin
diff options
context:
space:
mode:
authorJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-18 15:24:43 +0200
committerJeroen van Rijn <Kelimion@users.noreply.github.com>2021-08-18 15:24:43 +0200
commit5fd7a5f32a6f2b68431298c3b58257edff733f8a (patch)
tree49a79dd9cd6113ae69f2ed0ca7339fdba26d3097 /core/math/big/private.odin
parenta01c946c207ccfabd3636c8db8c54fd08f5f54f9 (diff)
big: Fix signed multiplication for some inputs.
Diffstat (limited to 'core/math/big/private.odin')
-rw-r--r--core/math/big/private.odin1
1 files changed, 1 insertions, 0 deletions
diff --git a/core/math/big/private.odin b/core/math/big/private.odin
index a46fab230..24fb2110f 100644
--- a/core/math/big/private.odin
+++ b/core/math/big/private.odin
@@ -161,6 +161,7 @@ _private_int_mul_toom :: proc(dest, a, b: ^Int, allocator := context.allocator)
internal_clamp(b1);
internal_clamp(b2);
+
/*
\\ S1 = (a2+a1+a0) * (b2+b1+b0);
*/