I agree that h5diff is just comparing bit patterns, but obviously h5diff knows when a bit pattern equals NaN and when it doesn't. So it could refuse to says that two NaNs are equal.
At the very least there ought to be a command-line option to make it so h5diff reports NaNs as different. Dave On Feb 16, 2013, at 1:12 PM, Rhys Ulerich wrote: >> A NaN should never be equal to itself, yet h5diff happily says they are >> equal. > > Though clearly NaN != NaN from an IEEE equality perspective, h5diff > tells you the differences between things. A NaN is not "different" > from a NaN in the sense that two files containing identical bit > patterns (some of which may be NaN) are not different. > > - Rhys
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
