ceylon/ceylon.language — Issue #53: NaN and collections
Author: tombentley
Created: 2012-02-15 09:17:55+00:00
State: open

Java's `Double.equals()` treats NaN (and -0.0) specially so that NaN can be used in HashMaps and HashSets. Similarly `Double.compareTo()` treats NaN as equal to itself. Are we comfortable with NaN not be retrievable from hash-based collections?