diff options
author | Peter Cao <xcao@hdfgroup.org> | 2009-09-11 20:09:34 (GMT) |
---|---|---|
committer | Peter Cao <xcao@hdfgroup.org> | 2009-09-11 20:09:34 (GMT) |
commit | 5f3a7254c11733038f595f4af4b0ecbbdac2ab2b (patch) | |
tree | 4032c779e5a8abf2fbbc8a16b983dba6179b7f05 /tools/h5diff/testfiles/h5diff_624.txt | |
parent | f41b8ab87bfc9702f12a3df10911960731556bed (diff) | |
download | hdf5-5f3a7254c11733038f595f4af4b0ecbbdac2ab2b.zip hdf5-5f3a7254c11733038f595f4af4b0ecbbdac2ab2b.tar.gz hdf5-5f3a7254c11733038f595f4af4b0ecbbdac2ab2b.tar.bz2 |
[svn-r17466] " 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_624.txt')
-rw-r--r-- | tools/h5diff/testfiles/h5diff_624.txt | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/tools/h5diff/testfiles/h5diff_624.txt b/tools/h5diff/testfiles/h5diff_624.txt index 396a007..016ab77 100644 --- a/tools/h5diff/testfiles/h5diff_624.txt +++ b/tools/h5diff/testfiles/h5diff_624.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: |