mirror of
https://github.com/golang/go
synced 2024-10-04 08:31:22 -06:00
1a0a09dafe
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_test.go | ||
rand.go | ||
rng.go | ||
zipf.go |