On Fri, 21 Feb 2014, Eduardo Jauch wrote: > I'm generating some HDF files and in many datasets, when I open with > HDFView, some of the values are set to -0.0, but they should be 0.0. > > Anyone found this already? > > Some hint on what can be?
Some floating point representations have both a negative and positive 0. Possibly you are storing both negative and positive zeros into the file, and this is what is being reflected in HDFView. -- _______________________________________________ Hdf-forum is for HDF software users discussion. [email protected] http://mail.lists.hdfgroup.org/mailman/listinfo/hdf-forum_lists.hdfgroup.org
