Rhys,

It may be the case that your system epsilon is different from DBL_EPSILON.


Here is what I copied from h5diff UG for clarification:
   -d D, --delta=D
         Print difference if (|a-b| > D). D must be a positive number.
         Can not use with '-p' or '--use-system-epsilon'.
   -p R, --relative=R
         Print difference if (|(a-b)/b| > R). R must be a positive number.
         Can not use with '-d' or '--use-system-epsilon'.
   --use-system-epsilon
Print difference if (|a-b| > EPSILON), EPSILON is system defined value. If the system epsilon is not defined,one of the following predefined
         values will be used:
           FLT_EPSILON = 1.19209E-07 for floating-point type
           DBL_EPSILON = 2.22045E-16 for double precision type
         Can not use with '-p' or '-d'.

Thanks
--pc

On 7/14/2011 1:12 PM, Rhys Ulerich wrote:
'Afternoon,

Atop h5diff 1.8.5-patch1 I've noticed that comparing NaN against NaN
passes when using --use-system-epsilon.  It fail when using
--delta=something.

Does --use-system-epsilon imply more than just --delta=DBL_EPSILON?
If so, please add that to the --help message.

- Rhys

_______________________________________________
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

Reply via email to