3 ms·Unfortunately it's also incorrect! It discards NaNs, as they are neither < nor >=.by ridiculous_fish 7y agoUnfortunately it's also incorrect! It discards NaNs, as they are neither < nor >=.fulafel 7y agoI would argue that this is better than most alternatives.maweki 7y agoIn the example there was no talking about floating point numbers. The ordered type _has_ a total ordering as shown by the Ord typeclass restriction.