We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
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:
[0 -0]
I expected this to print:
[-0 0]
Either this case be documented or we fix the Float64Slice.Less method.
Float64Slice.Less