]> Cypherpunks repositories - gostls13.git/commitdiff
math/big: fix comment typos
authorMatthew Dempsky <mdempsky@google.com>
Tue, 15 Mar 2016 20:34:15 +0000 (13:34 -0700)
committerMatthew Dempsky <mdempsky@google.com>
Tue, 15 Mar 2016 20:41:15 +0000 (20:41 +0000)
Change-Id: I34cdc9cb3d32e86ff3a57db0012326c39cd55670
Reviewed-on: https://go-review.googlesource.com/20718
Reviewed-by: Robert Griesemer <gri@golang.org>
src/math/big/ftoa.go

index c5cdb5eb705087ece832dfe024c0b71a317b1888..95c9320a2404a58c0d3c183c4f1e8800184810ea 100644 (file)
@@ -333,9 +333,9 @@ func (x *Float) fmtB(buf []byte) []byte {
        return strconv.AppendInt(buf, e, 10)
 }
 
-// fmtP appends the string of x in the format 0x." mantissa "p" exponent
-// with a hexadecimal mantissa and a binary exponent, or 0" if x is zero,
-// ad returns the extended buffer.
+// fmtP appends the string of x in the format "0x." mantissa "p" exponent
+// with a hexadecimal mantissa and a binary exponent, or "0" if x is zero,
+// and returns the extended buffer.
 // The mantissa is normalized such that 0.5 <= 0.mantissa < 1.0.
 // The sign of x is ignored, and x must not be an Inf.
 func (x *Float) fmtP(buf []byte) []byte {