aboutsummaryrefslogtreecommitdiff
path: root/libgo/go/strconv/extfloat.go
diff options
context:
space:
mode:
Diffstat (limited to 'libgo/go/strconv/extfloat.go')
-rw-r--r--libgo/go/strconv/extfloat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/strconv/extfloat.go b/libgo/go/strconv/extfloat.go
index 64ab84f..aa5e560 100644
--- a/libgo/go/strconv/extfloat.go
+++ b/libgo/go/strconv/extfloat.go
@@ -477,7 +477,7 @@ func (f *extFloat) ShortestDecimal(d *decimal, lower, upper *extFloat) bool {
// all data is known with a error estimate of ulpBinary*ε.
func adjustLastDigit(d *decimal, currentDiff, targetDiff, maxDiff, ulpDecimal, ulpBinary uint64) bool {
if ulpDecimal < 2*ulpBinary {
- // Appromixation is too wide.
+ // Approximation is too wide.
return false
}
for currentDiff+ulpDecimal/2+ulpBinary < targetDiff {