1
0
mirror of https://github.com/golang/go synced 2024-11-22 05:14:40 -07:00
go/src/sort
Meng Zhuo 989eed2849 slice, sort: correct triple of xorshift RNG
The original triple is `[13,17,5]` which don't existed in the Xorshift
RNG paper.
This CL use the right triple `[13,7,17]` for 64 bits RNG.

Fixes #70144

Change-Id: I3e3d475835980d9f28451ab73e3ce61eb2f1685e
Reviewed-on: https://go-review.googlesource.com/c/go/+/624295
Reviewed-by: Eli Bendersky <eliben@google.com>
Reviewed-by: Carlos Amedee <carlos@golang.org>
LUCI-TryBot-Result: Go LUCI <golang-scoped@luci-project-accounts.iam.gserviceaccount.com>
Reviewed-by: yunhao zhang <zhangyunhao116@gmail.com>
2024-11-02 07:24:25 +00:00
..
example_interface_test.go
example_keys_test.go
example_multi_test.go
example_search_test.go sort: add example for Find 2024-07-16 17:55:15 +00:00
example_test.go
example_wrapper_test.go
export_test.go
gen_sort_variants.go all: drop old +build lines 2023-10-19 23:33:27 +00:00
search_test.go
search.go sort: add available godoc link 2023-11-28 16:40:32 +00:00
slice.go sort: add available godoc link 2023-11-28 16:40:32 +00:00
sort_slices_benchmark_test.go sort: use math/rand/v2 in tests and benchmarks 2024-02-08 22:59:40 +00:00
sort_test.go sort: add example for Find 2024-07-16 17:55:15 +00:00
sort.go slice, sort: correct triple of xorshift RNG 2024-11-02 07:24:25 +00:00
zsortfunc.go
zsortinterface.go