[svn-r12134] Purpose:

bug fix

Description:
1) added a more explainative usage message
2) the percent relative error for the integer type (division) was being done using integer arythmetic; use floating point arythmetic instead
3) added a new test for integer percent

Solution:

Platforms tested:
linux (32,64)
AIX
solaris

Misc. update:
This commit is contained in:
Pedro Vicente Nunes
2006-03-22 15:53:05 -05:00
parent 433fdf2bf8
commit b269dbf0ae
37 changed files with 1729 additions and 1682 deletions

View File

@@ -18,7 +18,7 @@ file2 File name of the second HDF5 file
[-p relative] Print difference when it is greater than a relative limit
Items in [] are optional
[obj1] and [obj2] are HDF5 objects (datasets, groups or datatypes)
[obj1] and [obj2] are HDF5 objects (datasets, groups, datatypes or links)
The 'count' value must be a positive integer
The 'delta' and 'relative' values must be positive numbers
The -d compare criteria is |a - b| > delta
@@ -49,3 +49,5 @@ Note) file1 and file2 can be the same file. Use
h5diff file1 file1 /g1/dset1 /g1/dset2
to compare '/g1/dset1' and '/g1/dset2' in the same file
If no objects are specified, h5diff only compares objects with the same absolute path in both files. The compare criteria is: 1) datasets: numerical array differences 2) groups: name string difference 3) datatypes: the return value of H5Tequal 2) links: name string difference of the linked value