aboutsummaryrefslogtreecommitdiff
path: root/src/math
diff options
context:
space:
mode:
authorcuishuang <imcusg@gmail.com>2024-09-09 12:22:05 +0800
committerGopher Robot <gobot@golang.org>2024-09-09 16:44:45 +0000
commitcc912bd8ebece1471f606248c97a36b0fb800f86 (patch)
treea403b30d70d032395c27cc28183d9739c84e8c67 /src/math
parent5858205831117498e7b65ded82e398b28cff6c37 (diff)
downloadgo-cc912bd8ebece1471f606248c97a36b0fb800f86.tar.xz
all: remove unnecessary symbols and add missing symbols
Change-Id: I535a7aaaf3f9e8a9c0e0c04f8f745ad7445a32f7 Reviewed-on: https://go-review.googlesource.com/c/go/+/611678 Run-TryBot: shuang cui <imcusg@gmail.com> LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com> Reviewed-by: Dmitri Shuralyov <dmitshur@google.com> Auto-Submit: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Robert Griesemer <gri@google.com> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
Diffstat (limited to 'src/math')
-rw-r--r--src/math/big/ftoa.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/big/ftoa.go b/src/math/big/ftoa.go
index f7a4345d3a..c5939d731d 100644
--- a/src/math/big/ftoa.go
+++ b/src/math/big/ftoa.go
@@ -309,7 +309,7 @@ func fmtF(buf []byte, prec int, d decimal) []byte {
}
// fmtB appends the string of x in the format mantissa "p" exponent
-// with a decimal mantissa and a binary exponent, or 0" if x is zero,
+// with a decimal mantissa and a binary exponent, or "0" if x is zero,
// and returns the extended buffer.
// The mantissa is normalized such that is uses x.Prec() bits in binary
// representation.