From owner-cvs-all@FreeBSD.ORG Wed Feb 18 14:02:40 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1FF6516A4CE; Wed, 18 Feb 2004 14:02:40 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B8BE43D1F; Wed, 18 Feb 2004 14:02:40 -0800 (PST) (envelope-from glewis@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id i1IM2dGe025403; Wed, 18 Feb 2004 14:02:39 -0800 (PST) (envelope-from glewis@repoman.freebsd.org) Received: (from glewis@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id i1IM2dMH025402; Wed, 18 Feb 2004 14:02:39 -0800 (PST) (envelope-from glewis) Message-Id: <200402182202.i1IM2dMH025402@repoman.freebsd.org> From: Greg Lewis Date: Wed, 18 Feb 2004 14:02:39 -0800 (PST) To: ports-committers@FreeBSD.org, cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: ports/math Makefile ports/math/ndiff Makefile distinfo pkg-descr pkg-plist ports/math/ndiff/files patch-Makefile.in X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2004 22:02:40 -0000 glewis 2004/02/18 14:02:39 PST FreeBSD ports repository Modified files: math Makefile Added files: math/ndiff Makefile distinfo pkg-descr pkg-plist math/ndiff/files patch-Makefile.in Log: 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 Revision Changes Path 1.253 +1 -0 ports/math/Makefile 1.1 +44 -0 ports/math/ndiff/Makefile (new) 1.1 +2 -0 ports/math/ndiff/distinfo (new) 1.1 +36 -0 ports/math/ndiff/files/patch-Makefile.in (new) 1.1 +24 -0 ports/math/ndiff/pkg-descr (new) 1.1 +4 -0 ports/math/ndiff/pkg-plist (new)