aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorIgor Zhilianin <igor.zhilianin@gmail.com>2018-10-06 06:10:25 +0000
committerBrad Fitzpatrick <bradfitz@golang.org>2018-10-06 15:40:03 +0000
commitf90e89e675443731e36c2de4bcd3cdd7316d3dfc (patch)
tree7aac9648f2ffbf756b1dfdb242bdee3d795d5b04 /src/math
parent9f193fbe31d7ffa5f6e71a6387cbcf4636306660 (diff)
downloadgo-f90e89e675443731e36c2de4bcd3cdd7316d3dfc.tar.xz
all: fix a bunch of misspellings
Change-Id: If2954bdfc551515403706b2cd0dde94e45936e08 GitHub-Last-Rev: d4cfc41a5504cf10befefdb881d4c45986a1d1f8 GitHub-Pull-Request: golang/go#28049 Reviewed-on: https://go-review.googlesource.com/c/140299 Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org> Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org> TryBot-Result: Gobot Gobot <gobot@golang.org>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/big/float.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/float.go b/src/math/big/float.go
index 55b93c8915..6b0cb3f1ed 100644
--- a/src/math/big/float.go
+++ b/src/math/big/float.go
@@ -293,7 +293,7 @@ func (z *Float) setExpAndRound(exp int64, sbit uint) {
z.round(sbit)
}
-// SetMantExp sets z to mant × 2**exp and and returns z.
+// SetMantExp sets z to mant × 2**exp and returns z.
// The result z has the same precision and rounding mode
// as mant. SetMantExp is an inverse of MantExp but does
// not require 0.5 <= |mant| < 1.0. Specifically: