Using Go1.12
Consider this snippet:
fs := []float64{math.Copysign(0, +1), math.Copysign(0, -1)}
sort.Stable(sort.Float64Slice(fs))
fmt.Println(fs)
This currently prints:
I expected this to print:
Either this case be documented or we fix the Float64Slice.Less method.
Using Go1.12
Consider this snippet:
This currently prints:
I expected this to print:
Either this case be documented or we fix the
Float64Slice.Lessmethod.