diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-29 16:20:19 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-29 16:20:19 (GMT) |
commit | d467c2ce717d4633185b063b58eff262126749b7 (patch) | |
tree | cd6964394635ea907f212c496fd6ec71b5540a61 /tools/h5diff/testfiles/h5diff_101.txt | |
parent | ea694afb00e3971edbf913baea660dc315b9d8b7 (diff) | |
download | hdf5-d467c2ce717d4633185b063b58eff262126749b7.zip hdf5-d467c2ce717d4633185b063b58eff262126749b7.tar.gz hdf5-d467c2ce717d4633185b063b58eff262126749b7.tar.bz2 |
[svn-r20369] Purpose:
Fixed Bug 2184 - GMQS: h5diff - incorrect calculation code for
--use-system-epsilon option
Description:
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_101.txt')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_101.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/h5diff/testfiles/h5diff_101.txt b/tools/h5diff/testfiles/h5diff_101.txt index 1d0f38d..f915439 100644 --- a/tools/h5diff/testfiles/h5diff_101.txt +++ b/tools/h5diff/testfiles/h5diff_101.txt @@ -2,9 +2,10 @@ dataset: </g1/d1> and </g1/d2> size: [3x2] [3x2] position d1 d2 difference ------------------------------------------------------------ -[ 0 1 ] 1e-09 2e-09 1e-09 -[ 1 0 ] 1e-09 9e-10 1e-10 -[ 1 1 ] 0 1e-09 1e-09 -[ 2 0 ] 1e-09 0 1e-09 -4 differences found +[ 0 1 ] 1e-16 4e-16 3e-16 +[ 1 0 ] 1e-16 2e-16 1e-16 +[ 1 1 ] 0 1e-16 1e-16 +[ 2 0 ] 3.3e-16 1e-16 2.3e-16 +[ 2 1 ] 1e-16 0 1e-16 +5 differences found EXIT CODE: 1 |