|
|
|
ndiff
Compare putatively similar files, ignoring small numeric differences
/Main/FreeBSD/4-stable/i386/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/
Have fun. Stefan (sad@mailaps.org)
Info:
Homepage: - Package version: - Architecture: i386 Distribution: FreeBSD 4-stable Filename: ndiff-2.00_2.tgz Browse inside ndiff-2.00_2.tgz:
pkg://ndiff-2.00_2.tgz:80874/ downloads[DIR]share/ 65535+ twin directories
[DIR]man/ 65535+ twin directories
[DIR]bin/ 65535+ twin directories
17.09 KB 2007-05-23+MTREE_DIRS view 65535+ mirrors
1.25 KB 2007-05-23+DESC view 72 mirrors
946 B 2007-05-23+CONTENTS view 181 mirrors
69 B 2007-05-23+COMMENT view 4032+ mirrorsDownload ndiff-2.00_2.tgz:
2005-07-13 ftp://ftp.nz.freebsd.org/pub/FreeBSD/ports/i386/packages-4-stable/All/ndiff-2.00_2.tgz
2005-07-13 ftp://ftp.euro.net/pub/mirrors/FreeBSD/ports/i386/packages-4-stable/All/ndiff-2.00_2.tgz
2006-07-12 ftp://ftp.man.szczecin.pl/pub/FreeBSD/ports/i386/packages-4-stable/All/ndiff-2.00_2.tgz
2006-07-12 ftp://ftp.physics.uvt.ro/pub/FreeBSD/ports/i386/packages-4-stable/All/ndiff-2.00_2.tgz
2006-07-12 ftp://194.67.80.52/.3/FreeBSD-Archive/ports/i386/packages-4-stable/All/ndiff-2.00_2.tgz
2006-07-12 ftp://213.24.208.27/.3/FreeBSD-Archive/ports/i386/packages-4-stable/All/ndiff-2.00_2.tgz
2006-07-12 ftp://194.186.254.27/.3/FreeBSD-Archive/ports/i386/packages-4-stable/All/ndiff-2.00_2.tgz
| Results 1 - 1 |