mirror of https://github.com/golang/go.git
The use of math.Pow for mere squaring can be extremely slow on soft-float ARM. Even on systems with hardware floating-point, a speedup in test duration is observed. On amd64 Before: ok math/rand 2.009s After: ok math/rand 0.340s Fixes #3740. R=dave, golang-dev, r, r CC=golang-dev https://golang.org/cl/6348061 |
||
|---|---|---|
| .. | ||
| exp.go | ||
| normal.go | ||
| rand.go | ||
| rand_test.go | ||
| rng.go | ||
| zipf.go | ||