diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-27 20:10:53 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2006-11-27 20:10:53 (GMT) |
commit | 124ef64faf9e3feecdc0d3d28967a222859f915d (patch) | |
tree | d3f37c6d74bbe73ac471dfda3e22bfceb3f6edfe /tools/testfiles/h5diff_14.txt | |
parent | 957a5082d12873eb4238a962ce0193adeac5a1dc (diff) | |
download | hdf5-124ef64faf9e3feecdc0d3d28967a222859f915d.zip hdf5-124ef64faf9e3feecdc0d3d28967a222859f915d.tar.gz hdf5-124ef64faf9e3feecdc0d3d28967a222859f915d.tar.bz2 |
[svn-r12984]
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
Diffstat (limited to 'tools/testfiles/h5diff_14.txt')
-rw-r--r-- | tools/testfiles/h5diff_14.txt | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/tools/testfiles/h5diff_14.txt b/tools/testfiles/h5diff_14.txt index 98a4c81..b5431cf 100644 --- a/tools/testfiles/h5diff_14.txt +++ b/tools/testfiles/h5diff_14.txt @@ -4,8 +4,9 @@ Expected output for 'h5diff h5diff_basic1.h5 h5diff_basic2.h5 -r g1/dset1 g1/dse Dataset: </g1/dset1> and </g1/dset2> position dset1 dset2 difference ------------------------------------------------------------ -[ 0 1 ] 1.000000 1.100000 0.100000 -[ 1 0 ] 1.000000 1.010000 0.010000 -[ 1 1 ] 1.000000 1.001000 0.001000 -[ 2 0 ] 1.000000 1.000100 0.000100 -4 differences found +[ 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 |