big: Fix signed multiplication for some inputs.

This commit is contained in:
Jeroen van Rijn committed 2021-08-18 15:24:43 +02:00
1 parent a01c946c20
commit 5fd7a5f32a
4 files changed
+31 -13

No files matched your search

+1
View File
@@ -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);
*/