mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-21 07:51:46 +08:00
553e452ce4
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)
12 lines
568 B
Plaintext
Executable File
12 lines
568 B
Plaintext
Executable File
dataset: </g1/d1> and </g1/d2>
|
|
size: [3x2] [3x2]
|
|
position d1 d2 difference
|
|
------------------------------------------------------------
|
|
[ 0 1 ] 1e-016 4e-016 3e-016
|
|
[ 1 0 ] 1e-016 2e-016 1e-016
|
|
[ 1 1 ] 0 1e-016 1e-016
|
|
[ 2 0 ] 3.3e-016 1e-016 2.3e-016
|
|
[ 2 1 ] 1e-016 0 1e-016
|
|
5 differences found
|
|
EXIT CODE: 1
|