aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2023-02-14 22:42:38 +0800
committerGopher Robot <gobot@golang.org>2023-02-14 16:27:39 +0000
commit117fe2e08d2fb385e4febed020b834d2d8e4358a (patch)
tree835378bc287facdc4a7f938fb4a071f5da0016cb /src/math
parentb146d7626f869901f9dd841b9253e89a227c6465 (diff)
downloadgo-117fe2e08d2fb385e4febed020b834d2d8e4358a.tar.xz
all: fix some comments
Change-Id: I16ec916b47de2f417b681c8abff5a1375ddf491b Reviewed-on: https://go-review.googlesource.com/c/go/+/468055 Run-TryBot: Ian Lance Taylor <iant@google.com> TryBot-Result: Gopher Robot <gobot@golang.org> Auto-Submit: Ian Lance Taylor <iant@google.com> Reviewed-by: Ian Lance Taylor <iant@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/big/int.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/int.go b/src/math/big/int.go
index d34034bd1c..c9788beebd 100644
--- a/src/math/big/int.go
+++ b/src/math/big/int.go
@@ -1002,7 +1002,7 @@ func (z *Int) modSqrt3Mod4Prime(x, p *Int) *Int {
return z
}
-// modSqrt5Mod8 uses Atkin's observation that 2 is not a square mod p
+// modSqrt5Mod8Prime uses Atkin's observation that 2 is not a square mod p
//
// alpha == (2*a)^((p-5)/8) mod p
// beta == 2*a*alpha^2 mod p is a square root of -1