aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorDan Kortschak <dan@kortschak.io>2022-03-05 19:21:15 +1030
committerDaniel Martí <mvdan@mvdan.cc>2022-03-06 20:47:39 +0000
commitda2773fe3e2f6106634673a38dc3a6eb875fe7d8 (patch)
tree6de067c7651945133608c53635e371a88e698d60 /src/math
parent45f45444b307cea7c8330b100b30382e642e010f (diff)
downloadgo-da2773fe3e2f6106634673a38dc3a6eb875fe7d8.tar.xz
all: fix some typos
Change-Id: I7dfae0fc91c2d70873ec7ec920be7c0a4888153a Reviewed-on: https://go-review.googlesource.com/c/go/+/390175 Reviewed-by: Ian Lance Taylor <iant@golang.org> Reviewed-by: Daniel Martí <mvdan@mvdan.cc> Trust: Daniel Martí <mvdan@mvdan.cc>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/big/nat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/nat.go b/src/math/big/nat.go
index 140c619c8c..512b2c229f 100644
--- a/src/math/big/nat.go
+++ b/src/math/big/nat.go
@@ -341,7 +341,7 @@ func karatsuba(z, x, y nat) {
karatsuba(p, xd, yd)
// save original z2:z0
- // (ok to use upper half of z since we're done recursing)
+ // (ok to use upper half of z since we're done recurring)
r := z[n*4:]
copy(r, z[:n*2])