[svn-r12146] Purpose:
bug fix Description: percent relative error was done using integer arythmetic; use floating point instead added the case for unsigned long long integer to float conversion Solution: Platforms tested: linux (32,64) AIX solaris Misc. update:
This commit is contained in:
11
tools/testfiles/h5diff_192.txt
Normal file
11
tools/testfiles/h5diff_192.txt
Normal file
@@ -0,0 +1,11 @@
|
||||
#############################
|
||||
Expected output for 'h5diff file1.h5 file1.h5 -v -p 0.02 g1/dset7 g1/dset8'
|
||||
#############################
|
||||
Dataset: </g1/dset7> and </g1/dset8>
|
||||
position dset7 dset8 difference relative
|
||||
------------------------------------------------------------------------
|
||||
[ 1 0 ] 100 103 3 0.030000
|
||||
[ 1 1 ] 100 104 4 0.040000
|
||||
[ 2 0 ] 100 150 50 0.500000
|
||||
[ 2 1 ] 100 200 100 1.000000
|
||||
4 differences found
|
||||
Reference in New Issue
Block a user