On Feb 16, 2013, at 4:59 PM, Rhys Ulerich wrote: > > 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. > > But then a file containing a NaN would be different from itself, a clearly > useless state of affairs. This was exactly the reason why The HDF Group decided that h5diff should behave this way. BTW, the current h5diff behavior with NaN is documented in the tool's RM page http://www.hdfgroup.org/HDF5/doc/RM/Tools.html#Tools-Diff.
Dave, In your opinion, what would be the use case when NaNs should be treated as not equal when compared to each other by h5diff? Thank you! Elena ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Elena Pourmal The HDF Group http://hdfgroup.org 1800 So. Oak St., Suite 203, Champaign IL 61820 217.531.6112 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > _______________________________________________ > Hdf-forum is for HDF software users discussion. > [email protected] > http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
_______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.hdfgroup.org/mailman/listinfo/hdf-forum_hdfgroup.org
