From 95c6c5f36bb04e66d6a9523b3ad590faa6d563dd Mon Sep 17 00:00:00 2001 From: Matthew Dempsky Date: Tue, 15 Mar 2016 13:34:15 -0700 Subject: [PATCH] math/big: fix comment typos Change-Id: I34cdc9cb3d32e86ff3a57db0012326c39cd55670 Reviewed-on: https://go-review.googlesource.com/20718 Reviewed-by: Robert Griesemer --- src/math/big/ftoa.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/math/big/ftoa.go b/src/math/big/ftoa.go index c5cdb5eb70..95c9320a24 100644 --- a/src/math/big/ftoa.go +++ b/src/math/big/ftoa.go @@ -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 { -- 2.48.1