]> Cypherpunks repositories - gostls13.git/commit
shootout: make mandelbrot.go more like mandelbrot.c
authorRuss Cox <rsc@golang.org>
Wed, 30 May 2012 18:40:59 +0000 (14:40 -0400)
committerRuss Cox <rsc@golang.org>
Wed, 30 May 2012 18:40:59 +0000 (14:40 -0400)
commiteb056dbea7bf2d18ef582bb637979a7c05b9b6a4
tree34dfa0cced8a6f8323c3bd31dd6e68953ff962c2
parent3806cc7b05bfa99605d5f8559c4263066a3d8a85
shootout: make mandelbrot.go more like mandelbrot.c

Surprise! The C code is using floating point values for its counters.
Its off the critical path, but the Go code and C code are supposed to
be as similar as possible to make comparisons meaningful.

It doesn't have a significant effect.

R=golang-dev, r
CC=golang-dev
https://golang.org/cl/6260058
test/bench/shootout/mandelbrot.go