aboutsummaryrefslogtreecommitdiff
path: root/src/strconv/extfloat.go
diff options
context:
space:
mode:
authorJosh Bleecher Snyder <josharian@gmail.com>2015-02-17 15:44:42 -0800
committerJosh Bleecher Snyder <josharian@gmail.com>2015-03-18 15:14:06 +0000
commit2adc4e892704bb99f2d16c0c09777987cb6bed35 (patch)
tree4e61f69a0e448b82df4e1c7c8c621f397298e7b9 /src/strconv/extfloat.go
parentfcb895feef1c9214f9cb633b5a0fa4dc8f46af9e (diff)
downloadgo-2adc4e892704bb99f2d16c0c09777987cb6bed35.tar.xz
all: use "reports whether" in place of "returns true if(f)"
Comment changes only. Change-Id: I56848814564c4aa0988b451df18bebdfc88d6d94 Reviewed-on: https://go-review.googlesource.com/7721 Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/strconv/extfloat.go')
-rw-r--r--src/strconv/extfloat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strconv/extfloat.go b/src/strconv/extfloat.go
index bed8b16bda..019b4eebdc 100644
--- a/src/strconv/extfloat.go
+++ b/src/strconv/extfloat.go
@@ -256,7 +256,7 @@ var uint64pow10 = [...]uint64{
}
// AssignDecimal sets f to an approximate value mantissa*10^exp. It
-// returns true if the value represented by f is guaranteed to be the
+// reports whether the value represented by f is guaranteed to be the
// best approximation of d after being rounded to a float64 or
// float32 depending on flt.
func (f *extFloat) AssignDecimal(mantissa uint64, exp10 int, neg bool, trunc bool, flt *floatInfo) (ok bool) {