mirror of
https://github.com/golang/go
synced 2024-11-06 13:36:12 -07:00
415e3fd8a6
In CL 371574 PatchSet 18, we replaced all !{{Less}} with {{GreaterOrEqual}} to fix a problem(handle NaNs when sorting float64 slice) in exp/slices. We don't actually need this change, because we don't guarantee that the slice will be sorted eventually if there are NaNs(we could have a[i] < a[j] for some i,j with i>j). This CL reverts all the replacements in exp/slices and does not affect any codes in the sort package. Change-Id: Idc225d480de3e2efef2add35c709ed880d1306cb Reviewed-on: https://go-review.googlesource.com/c/go/+/400534 Reviewed-by: Keith Randall <khr@golang.org> Run-TryBot: Keith Randall <khr@golang.org> Auto-Submit: Keith Randall <khr@golang.org> TryBot-Result: Gopher Robot <gobot@golang.org> Reviewed-by: Eli Bendersky <eliben@google.com> Reviewed-by: Keith Randall <khr@google.com> Auto-Submit: Keith Randall <khr@google.com> |
||
---|---|---|
.. | ||
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_go14.go | ||
slice_go18.go | ||
slice_go113.go | ||
slice.go | ||
sort_test.go | ||
sort.go | ||
zsortfunc.go | ||
zsortinterface.go |