aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Davis <43160081+Pawls@users.noreply.github.com>2021-01-26 23:29:47 +0000
committerIan Lance Taylor <iant@golang.org>2021-01-27 00:15:06 +0000
commit0f797f168d1aec8481ee43ace57d3209aee93dba (patch)
tree6488695d455faeef2677f4afe2c5cccf08d6816e
parent8634a234df2a9e93ed1de58bf59d2eb843d8f464 (diff)
downloadgo-0f797f168d1aec8481ee43ace57d3209aee93dba.tar.gz
go-0f797f168d1aec8481ee43ace57d3209aee93dba.zip
math: fix typo in sqrt.go code comment
"it does not necessary" -> "it is not necessary" Change-Id: I66f9cf2670d76b3686badb4a537b3ec084447d62 GitHub-Last-Rev: 52a0f9993abf25369cdb6b31eaf476df1626cf87 GitHub-Pull-Request: golang/go#43935 Reviewed-on: https://go-review.googlesource.com/c/go/+/287052 Reviewed-by: Robert Griesemer <gri@golang.org> Reviewed-by: Ian Lance Taylor <iant@golang.org> Trust: Robert Griesemer <gri@golang.org>
-rw-r--r--src/math/sqrt.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/sqrt.go b/src/math/sqrt.go
index 7e95f2365b..1077a62897 100644
--- a/src/math/sqrt.go
+++ b/src/math/sqrt.go
@@ -67,7 +67,7 @@ package math
//
// One may easily use induction to prove (4) and (5).
// Note. Since the left hand side of (3) contain only i+2 bits,
-// it does not necessary to do a full (53-bit) comparison
+// it is not necessary to do a full (53-bit) comparison
// in (3).
// 3. Final rounding
// After generating the 53 bits result, we compute one more bit.