From: Robert Griesemer Date: Wed, 27 May 2015 19:08:38 +0000 (-0700) Subject: strconv: minor internal comment fix X-Git-Tag: go1.5beta1~461 X-Git-Url: http://www.git.cypherpunks.su/?a=commitdiff_plain;h=acd82d5017a6d30781d7b8caa6033694353fa7a8;p=gostls13.git strconv: minor internal comment fix Change-Id: I590ac9e976d4044d1f4f280137ea9b38851a9fc2 Reviewed-on: https://go-review.googlesource.com/10424 Reviewed-by: Alan Donovan --- diff --git a/src/strconv/ftoa.go b/src/strconv/ftoa.go index d59c78e493..468c37fafb 100644 --- a/src/strconv/ftoa.go +++ b/src/strconv/ftoa.go @@ -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 {