mirror of
https://github.com/golang/go
synced 2024-10-04 16:21:22 -06:00
0575cd9de4
The implementation is similar to the one from the double-conversion library used in the Chrome V8 engine. old ns/op new ns/op speedup BenchmarkAppendFloatDecimal 591 480 1.2x BenchmarkAppendFloat 2956 486 6.1x BenchmarkAppendFloatExp 10622 503 21.1x BenchmarkAppendFloatNegExp 40343 483 83.5x BenchmarkAppendFloatBig 2798 664 4.2x See F. Loitsch, ``Printing Floating-Point Numbers Quickly and Accurately with Integers'', Proceedings of the ACM, 2010. R=rsc CC=golang-dev, remy https://golang.org/cl/5502079 |
||
---|---|---|
.. | ||
atob_test.go | ||
atob.go | ||
atof_test.go | ||
atof.go | ||
atoi_test.go | ||
atoi.go | ||
decimal_test.go | ||
decimal.go | ||
extfloat.go | ||
fp_test.go | ||
ftoa_test.go | ||
ftoa.go | ||
internal_test.go | ||
itoa_test.go | ||
itoa.go | ||
Makefile | ||
quote_test.go | ||
quote.go | ||
testfp.txt |