diff options
| author | Kunpei Sakai <namusyaka@gmail.com> | 2017-09-15 10:24:47 +0900 |
|---|---|---|
| committer | Rob Pike <r@golang.org> | 2017-09-15 02:39:16 +0000 |
| commit | 5a986eca869773c4459b36dad434b97287d5d4f3 (patch) | |
| tree | eac8b3560d7aa621379b2aea6f2c6bcc3bb3715a /src/strconv/extfloat.go | |
| parent | 33cb1481f26c6f1acca445fafa18e7ad1d49efed (diff) | |
| download | go-5a986eca869773c4459b36dad434b97287d5d4f3.tar.xz | |
all: fix article typos
a -> an
Change-Id: I7362bdc199e83073a712be657f5d9ba16df3077e
Reviewed-on: https://go-review.googlesource.com/63850
Reviewed-by: Rob Pike <r@golang.org>
Diffstat (limited to 'src/strconv/extfloat.go')
| -rw-r--r-- | src/strconv/extfloat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/strconv/extfloat.go b/src/strconv/extfloat.go index 7033e96c39..7f17bc6a0d 100644 --- a/src/strconv/extfloat.go +++ b/src/strconv/extfloat.go @@ -641,7 +641,7 @@ func (f *extFloat) ShortestDecimal(d *decimalSlice, lower, upper *extFloat) bool // adjustLastDigit modifies d = x-currentDiff*ε, to get closest to // d = x-targetDiff*ε, without becoming smaller than x-maxDiff*ε. // It assumes that a decimal digit is worth ulpDecimal*ε, and that -// all data is known with a error estimate of ulpBinary*ε. +// all data is known with an error estimate of ulpBinary*ε. func adjustLastDigit(d *decimalSlice, currentDiff, targetDiff, maxDiff, ulpDecimal, ulpBinary uint64) bool { if ulpDecimal < 2*ulpBinary { // Approximation is too wide. |
