summaryrefslogtreecommitdiff
path: root/src/lib/reflect/tostring.go
diff options
context:
space:
mode:
authorRob Pike <r@golang.org>2008-11-06 16:32:28 -0800
committerRob Pike <r@golang.org>2008-11-06 16:32:28 -0800
commit6c13adcd6f2d1ba26dfc69458520dd71d8ae788c (patch)
tree9d6732c489ae9ccac224caf8f1095d751f41b549 /src/lib/reflect/tostring.go
parenta9a20852c96258b7b58a471b609fc41163d1f137 (diff)
downloadgolang-6c13adcd6f2d1ba26dfc69458520dd71d8ae788c.tar.gz
simpleminded ascii to floating point conversion
R=rsc DELTA=111 (107 added, 0 deleted, 4 changed) OCL=18720 CL=18725
Diffstat (limited to 'src/lib/reflect/tostring.go')
-rw-r--r--src/lib/reflect/tostring.go2
1 files changed, 1 insertions, 1 deletions
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 {