]> Cypherpunks repositories - gostls13.git/commit
math/big: move multiplication to natmul.go
authorRuss Cox <rsc@golang.org>
Fri, 17 Jan 2025 22:39:11 +0000 (17:39 -0500)
committerGopher Robot <gobot@golang.org>
Thu, 27 Feb 2025 14:05:00 +0000 (06:05 -0800)
commit0ab2253ce1e9183c2cb94f3a594448320cb65962
tree9f9ac1e5d25d3e68ea1498f3a8bb724f8d82e276
parent1f7e28acdf78f04850e08a102383d687f934d1d2
math/big: move multiplication to natmul.go

No code changes.

This CL moves the multiplication (and squaring) code into natmul.go,
in preparation for cleaning up Karatsuba and then adding Toom-Cook
and FFT-based multiplication.

Change-Id: I7f84328284cc4e1ca4da0ebb9f666a5535e8d7f2
Reviewed-on: https://go-review.googlesource.com/c/go/+/652055
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Auto-Submit: Russ Cox <rsc@golang.org>
Reviewed-by: Alan Donovan <adonovan@google.com>
src/math/big/nat.go
src/math/big/natmul.go [new file with mode: 0644]