]> Cypherpunks repositories - gostls13.git/commitdiff
strconv: minor internal comment fix
authorRobert Griesemer <gri@golang.org>
Wed, 27 May 2015 19:08:38 +0000 (12:08 -0700)
committerRobert Griesemer <gri@golang.org>
Wed, 27 May 2015 22:02:02 +0000 (22:02 +0000)
Change-Id: I590ac9e976d4044d1f4f280137ea9b38851a9fc2
Reviewed-on: https://go-review.googlesource.com/10424
Reviewed-by: Alan Donovan <adonovan@google.com>
src/strconv/ftoa.go

index d59c78e4936518ca0b37f5ef5c607aa0be37a670..468c37fafb9bbe2dbe35675275b0c844927e0701 100644 (file)
@@ -223,9 +223,8 @@ func formatDigits(dst []byte, shortest bool, neg bool, digs decimalSlice, prec i
        return append(dst, '%', fmt)
 }
 
-// Round d (= mant * 2^exp) to the shortest number of digits
-// that will let the original floating point value be precisely
-// reconstructed.  Size is original floating point size (64 or 32).
+// roundShortest rounds d (= mant * 2^exp) to the shortest number of digits
+// that will let the original floating point value be precisely reconstructed.
 func roundShortest(d *decimal, mant uint64, exp int, flt *floatInfo) {
        // If mantissa is zero, the number is zero; stop now.
        if mant == 0 {