>> IEEE754 requires that all comparisons with NaN give false, i.e., > > Not quite. "Not equal" comparisons should return true. yes. Sorry for the omission. > NANs should compare unordered and unequal to everything including > themselves. correct.