diff options
author | glewis <glewis@FreeBSD.org> | 2004-02-19 06:02:39 +0800 |
---|---|---|
committer | glewis <glewis@FreeBSD.org> | 2004-02-19 06:02:39 +0800 |
commit | f0177c2a34da63652c9a6890b511605222bbcc4a (patch) | |
tree | 021ce59faba3fad84ef14712575ff10467b0b8d8 /math/ndiff/distinfo | |
parent | 579ca4a0ba661c06a837728c763fe4df8643101f (diff) | |
download | freebsd-ports-gnome-f0177c2a34da63652c9a6890b511605222bbcc4a.tar.gz freebsd-ports-gnome-f0177c2a34da63652c9a6890b511605222bbcc4a.tar.zst freebsd-ports-gnome-f0177c2a34da63652c9a6890b511605222bbcc4a.zip |
Add a port of ndiff:
ndiff is a utility for comparing putatively similar files, ignoring small
numeric differences. The utility is written by Nelson H. F. Beebe and
covered by the GNU General Public License (GPL), version 2. It may be
built with arbitrary precision support (more powerful) or using built-in
floating point precision, see Makefile.
Assessing the consistency of a numerical program run in multiple
environments (operating systems, architectures, or compilers) can be a
difficult task for a human, as small differences in numerical output values
are expected. File differencing utilites, such as diff(1), will generally
produce voluminous output, often longer than the original files.
ndiff solves this problem. Taking two two text files expected to be
identical, or at least numerically similar, it allows to specify absolute
and/or relative error tolerances for differences between numerical values
in the two files, and then reports only the lines with values exceeding
those tolerances. It also tells by how much they differ. A simple example:
% ndiff --relative-error 1.0e-3 test019.txt.1 test019.txt.2
### Maximum relative error in matching lines = 8.64e-51 at line 129 field 4
WWW: http://www.math.utah.edu/~beebe/software/ndiff/
I've cleaned up the submitted version a little.
PR: 62221
Submitted by: Stefan A. Deutscher <sad@mailaps.org>
Diffstat (limited to 'math/ndiff/distinfo')
-rw-r--r-- | math/ndiff/distinfo | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/math/ndiff/distinfo b/math/ndiff/distinfo new file mode 100644 index 000000000000..935656e1040b --- /dev/null +++ b/math/ndiff/distinfo @@ -0,0 +1,2 @@ +MD5 (ndiff-2.00.tar.gz) = 885548b4dc26e72c5455bebb5ba6c16d +SIZE (ndiff-2.00.tar.gz) = 230850 |