diff options
author | Peter Cao <xcao@hdfgroup.org> | 2009-09-11 20:15:22 (GMT) |
---|---|---|
committer | Peter Cao <xcao@hdfgroup.org> | 2009-09-11 20:15:22 (GMT) |
commit | aeec66cf49482b75deb23017e19f0daff1d76894 (patch) | |
tree | 758d8fe0ba517ed4cdb9f5874f0e6c857fb98d35 /tools/h5diff/testfiles/h5diff_612.txt | |
parent | 258d4b38353286ff4066e40048ff90332e7befbe (diff) | |
download | hdf5-aeec66cf49482b75deb23017e19f0daff1d76894.zip hdf5-aeec66cf49482b75deb23017e19f0daff1d76894.tar.gz hdf5-aeec66cf49482b75deb23017e19f0daff1d76894.tar.bz2 |
[svn-r17467] " Use strict equality as default
" Use "--use-system-epsilon" for system EPSILON
" Use "-p" or "-d" for whatever user's choice of epsilon
" Use "-p 0" or "-d 0" for strict equality (same as default)
Diffstat (limited to 'tools/h5diff/testfiles/h5diff_612.txt')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_612.txt | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tools/h5diff/testfiles/h5diff_612.txt b/tools/h5diff/testfiles/h5diff_612.txt index 505705b..bbd6b00 100644 --- a/tools/h5diff/testfiles/h5diff_612.txt +++ b/tools/h5diff/testfiles/h5diff_612.txt @@ -12,13 +12,16 @@ usage: h5diff [OPTIONS] file1 file2 [obj1[obj2]] -q, --quiet Quiet mode. Do not do output -c, --compare List objects that are not comparable -N, --nan Avoid NaNs detection - -n C, --count=C Print differences up to C number - -d D, --delta=D Print difference when greater than limit D - -p R, --relative=R Print difference when greater than relative limit R - - C - is a positive integer - D - is a positive number. Compare criteria is |a - b| > D - R - is a positive number. Compare criteria is |(b-a)/a| > R + -n C, --count=C Print differences up to C number, C is a positive integer. + -d D, --delta=D Print difference if (|a-b| > D), D is a positive number. + -p R, --relative=R Print difference if (|(a-b)/b| > R), R is a positive number. + --use-system-epsilon Print difference if (|a-b| > EPSILON), + where EPSILON (FLT_EPSILON or FLT_EPSILON) is the system epsilon value. + If the system epsilon is not defined, use the value below: + FLT_EPSILON = 1.19209E-07 for float + DBL_EPSILON = 2.22045E-16 for double + -d, -p, and --use-system-epsilon options are used for comparing floating point values. + By default, strict equality is used. Use -p or -d to set specific tolerance. Modes of output: |