mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-12-09 07:32:32 +08:00
124ef64faf
Added a relative error formula to deal with floating point uncertainty in the comparison of floats and double types. Added new tests for this feature to the file generator program and to the shell script
13 lines
660 B
Plaintext
13 lines
660 B
Plaintext
#############################
|
|
Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic2.h5 -r g1/dset1 g1/dset2'
|
|
#############################
|
|
Dataset: </g1/dset1> and </g1/dset2>
|
|
position dset1 dset2 difference
|
|
------------------------------------------------------------
|
|
[ 0 0 ] 1 0 1
|
|
[ 0 1 ] 1 1.1 0.1
|
|
[ 1 0 ] 1 1.01 0.01
|
|
[ 1 1 ] 1 1.001 0.001
|
|
[ 2 1 ] 0 1 1
|
|
5 differences found
|