mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
simpleminded ascii to floating point conversion
R=rsc DELTA=111 (107 added, 0 deleted, 4 changed) OCL=18720 CL=18725
This commit is contained in:
parent
335a5236e7
commit
175dd773e6
3 changed files with 110 additions and 3 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue