amaembo / streamex

Enhancing Java Stream API
Apache License 2.0
2.18k stars 249 forks source link

Some non-canonical nans are sorted incorrectly with Double.reverseSorted() #229

Closed amaembo closed 4 years ago

amaembo commented 4 years ago

E.g. Double.longBitsToDouble(0xfff8000000000001L) is placed before Double.NEGATIVE_INFINITY.