mirror of
https://github.com/golang/go
synced 2024-11-19 15:24:46 -07:00
38255cbd1b
Replaced code that substituted 0 for rounded-up 1 with code to try again. This has minimal effect on the existing stream of random numbers, but restores uniformity. Fixes #12290. Change-Id: Ib68f0b0a4a173339bcd0274cc16509f7b0977de8 Reviewed-on: https://go-review.googlesource.com/17670 Reviewed-by: Russ Cox <rsc@golang.org> Run-TryBot: David Chase <drchase@google.com> TryBot-Result: Gobot Gobot <gobot@golang.org> |
||
---|---|---|
.. | ||
example_test.go | ||
exp.go | ||
normal.go | ||
rand_test.go | ||
rand.go | ||
regress_test.go | ||
rng.go | ||
zipf.go |