From 72fb81eeb6a58a781ccfd3092f3657bddaa8cae3 Mon Sep 17 00:00:00 2001 From: Marcel van Lohuizen Date: Sun, 19 Feb 2012 19:26:05 +0100 Subject: [PATCH] doc: Fixed type in documentation for FormatFloat. R=r, r, rsc CC=golang-dev https://golang.org/cl/5656108 --- doc/go1.html | 2 +- doc/go1.tmpl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/go1.html b/doc/go1.html index 9e98a9782f0..05d3eb50317 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 6155fb41cfb..7a28be3c3af 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)