diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-31 21:43:46 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-31 21:43:46 (GMT) |
commit | 553e452ce4f49a81d41a06b8eb8072bd47d30c59 (patch) | |
tree | 18fc63ff0d098ee4cfee23628cff326560927a9c /tools/h5diff/testfiles/h5diff_102w.txt | |
parent | d03182a94e4e40fd9a14be55d5701c14ae85ec38 (diff) | |
download | hdf5-553e452ce4f49a81d41a06b8eb8072bd47d30c59.zip hdf5-553e452ce4f49a81d41a06b8eb8072bd47d30c59.tar.gz hdf5-553e452ce4f49a81d41a06b8eb8072bd47d30c59.tar.bz2 |
[svn-r20384] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for
--use-system-epsilon option
Description:
Merged from HDF5 1.8 branch r20369.
Fixed h5diff for --use-system-epsilon option: the calculation changed
from ( |a - b| / b ) to ( |a - b| ). This was decided for better
performance and was corrected only in HDF5 trunk, so 1.8 got updated.
Also comments for equal_XXX() function were updated correctly.
Also help page and RM got updated correctly.
Also add test cases for testing the differences w/wo the option.
Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
Diffstat (limited to 'tools/h5diff/testfiles/h5diff_102w.txt')
-rwxr-xr-x | tools/h5diff/testfiles/h5diff_102w.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/h5diff/testfiles/h5diff_102w.txt b/tools/h5diff/testfiles/h5diff_102w.txt index 36a254e..dda3581 100755 --- a/tools/h5diff/testfiles/h5diff_102w.txt +++ b/tools/h5diff/testfiles/h5diff_102w.txt @@ -2,9 +2,9 @@ dataset: </g1/fp1> and </g1/fp2> size: [3x2] [3x2]
position fp1 fp2 difference
------------------------------------------------------------
-[ 0 1 ] 1e-005 2e-005 1e-005
-[ 1 0 ] 1e-005 9e-006 9.99999e-007
-[ 1 1 ] 0 1e-005 1e-005
-[ 2 0 ] 1e-005 0 1e-005
+[ 0 1 ] 1e-007 2e-007 1e-007
+[ 1 0 ] 1e-007 3e-007 2e-007
+[ 1 1 ] 2.2e-007 1e-007 1.2e-007
+[ 2 0 ] 1e-007 0 1e-007
4 differences found
EXIT CODE: 1
|