From 6c13adcd6f2d1ba26dfc69458520dd71d8ae788c Mon Sep 17 00:00:00 2001 From: Rob Pike Date: Thu, 6 Nov 2008 16:32:28 -0800 Subject: simpleminded ascii to floating point conversion R=rsc DELTA=111 (107 added, 0 deleted, 4 changed) OCL=18720 CL=18725 --- src/lib/reflect/tostring.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/reflect/tostring.go') diff --git a/src/lib/reflect/tostring.go b/src/lib/reflect/tostring.go index 4707a8e76..0a7004b31 100644 --- a/src/lib/reflect/tostring.go +++ b/src/lib/reflect/tostring.go @@ -124,7 +124,7 @@ func integer(v int64) string { } func floatingpoint(v float64) string { - return strings.dtoa(v); + return strings.f64toa(v); } func ValueToString(val Value) string { -- cgit v1.2.3