big: Fix signed multiplication for some inputs.

This commit is contained in:
Jeroen van Rijn
2021-08-18 15:24:43 +02:00
parent a01c946c20
commit 5fd7a5f32a
4 changed files with 31 additions and 13 deletions
+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);
*/