ndiff - Compare files, ignoring numeric differences

Property Value
Distribution FreeBSD 12
Repository FreeBSD Ports Latest amd64
Package filename ndiff-2.00_4.txz
Package name ndiff
Package version 2.00
Package release 4
Package architecture amd64
Package type txz
Category math
Homepage http://www.math.utah.edu/~beebe/software/ndiff/
License GPLv2
Maintainer pizzamig@FreeBSD.org
Download size 78.48 KB
Installed size 212.90 KB
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 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:
%25 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/
- DOCS: on
- GMP: off


Package Version Architecture Repository
ndiff-2.00_4.txz 2.00 i386 FreeBSD Ports Quarterly
ndiff-2.00_4.txz 2.00 amd64 FreeBSD Ports Quarterly
ndiff-2.00_4.txz 2.00 i386 FreeBSD Ports Latest
ndiff - - -


Type URL
Mirror pkg.freebsd.org
Binary Package ndiff-2.00_4.txz
Source Package math/ndiff

Install Howto

Install ndiff txz package:

# pkg install ndiff

See Also

Package Description
ndisc6-1.0.4_1.txz IPv6 network diagnostic tools
ndmpd-1.2_1.txz Network Data Management Protocol daemon
ndoutils-2.1.3.txz Keep Nagios perfdata in MySQL database
ndpi-3.0.d20191021,1.txz NTOP-maintained superset of the popular OpenDPI library
ndpmon-1.4.0_6.txz On-link icmpv6 message monitoring and reporting daemon
ndproxy-3.2.txz Implementation of IPv6 Neighbor Discovery proxy
nds-aspell-0.01.0_1,2.txz Aspell Low Saxon dictionary
ne-3.2.1.txz Nice and powerful editor
ne-libreoffice-6.3.4.txz ne language pack for libreoffice
neXtaw-0.15.1_5.txz Athena Widgets with N*XTSTEP appearance
neatvnc-s20200209.txz Liberally licensed VNC server library
nec2c-.9_2.txz Used to calculate antenna patterns useful to ham radio
nedit-5.7.txz X11/Motif GUI text editor for programs and plain text files
nehquake-1.0_8.txz Quake engine designed for playing Nehahra
neko-2.2.0_11.txz Neko programming languages and virtual machine