From acd82d5017a6d30781d7b8caa6033694353fa7a8 Mon Sep 17 00:00:00 2001 From: Robert Griesemer Date: Wed, 27 May 2015 12:08:38 -0700 Subject: [PATCH] strconv: minor internal comment fix Change-Id: I590ac9e976d4044d1f4f280137ea9b38851a9fc2 Reviewed-on: https://go-review.googlesource.com/10424 Reviewed-by: Alan Donovan --- src/strconv/ftoa.go | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 { -- 2.48.1