diff --git a/doc/go1.html b/doc/go1.html
index 9e98a9782f..05d3eb5031 100644
--- a/doc/go1.html
+++ b/doc/go1.html
@@ -1705,7 +1705,7 @@ for full details.
|
-Ftoa32(x, f, p) | FormatFloat(x, float64(f), p, 32) |
+Ftoa32(x, f, p) | FormatFloat(float64(x), f, p, 32) |
Ftoa64(x, f, p) | FormatFloat(x, f, p, 64) |
FtoaN(x, f, p, n) | FormatFloat(x, f, p, n) |
diff --git a/doc/go1.tmpl b/doc/go1.tmpl
index 6155fb41cf..7a28be3c3a 100644
--- a/doc/go1.tmpl
+++ b/doc/go1.tmpl
@@ -1590,7 +1590,7 @@ for full details.
|
-Ftoa32(x, f, p) | FormatFloat(x, float64(f), p, 32) |
+Ftoa32(x, f, p) | FormatFloat(float64(x), f, p, 32) |
Ftoa64(x, f, p) | FormatFloat(x, f, p, 64) |
FtoaN(x, f, p, n) | FormatFloat(x, f, p, n) |