1
0
mirror of https://github.com/golang/go synced 2024-11-14 22:40: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
example_test.go
example_wrapper_test.go
export_test.go
gen_sort_variants.go
search_test.go
search.go
slice.go
sort_slices_benchmark_test.go
sort_test.go
sort.go slice, sort: correct triple of xorshift RNG 2024-11-02 07:24:25 +00:00
zsortfunc.go
zsortinterface.go