From c28f040074f24cd105aa572ec26bacfc22587ee7 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 30 Aug 2003 23:27:30 +0000 Subject: Update to 2.11.8: Clarify that the internal hash as well as the hash builtin function used by calc, while based on the Fowler/Noll/Vo hash is NOT an FNV hash. Made slight performance improvements to calc by an optimization of how calc's internal hash is computed. The "make chk" regression test runs about 1.5% faster (when compiled with -O3 on an AMD Athlon) NO_HASH_CPU_OPTIMIZATION is not defined. Calc's internal hash values have not changed. By default, NO_HASH_CPU_OPTIMIZATION is NOT defined and the slightly faster expression is used. A slight modification of what was known as the "calc new stardard" configuration (calc -n or config("all", "newstd")) is now the default calc configuration. The flag: calc -O was added to get the old classic calc configuration. The flag command line flag, -n, now does nothing. Use of -n is deprecated and may go away / be used for something else in the future. The following table gives the summary of these changes: pre v2.11.8 v2.11.8 default pre v2.11.8 -O & oldstd v2.11.8 and oldstd -n & newstd classic cfg default -------------------------------------------------------- epsilon 1e-20 1e-10 1e-20 1e-20 quo 2 2 2 2 outround 2 24 2 24 leadzero 0 1 0 1 fullzero 0 1 0 0 prompt > ; > ; more >> ;; >> ;; With the exception of epsilon being 1e-20, and fullzero being unset, the new default calc config is like it was (pre-2.11.8) with calc -n / config("all", "newstd"). The new default config is the old classic config with outround being 24, leadzero being set, and the prompts being ;'s. --- math/capc-calc/Makefile | 5 ++--- math/capc-calc/distinfo | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'math') diff --git a/math/capc-calc/Makefile b/math/capc-calc/Makefile index 73cb86daaa6..21ef34584dc 100644 --- a/math/capc-calc/Makefile +++ b/math/capc-calc/Makefile @@ -1,9 +1,8 @@ -# $NetBSD: Makefile,v 1.16 2003/07/17 21:47:23 grant Exp $ +# $NetBSD: Makefile,v 1.17 2003/08/30 23:27:30 wiz Exp $ # -DISTNAME= calc-2.11.7 +DISTNAME= calc-2.11.8 PKGNAME= capc-${DISTNAME:S/t/./} -PKGREVISION= 1 CATEGORIES= math MASTER_SITES= http://www.isthe.com/chongo/src/calc/ \ http://prdownloads.sourceforge.net/calc/ diff --git a/math/capc-calc/distinfo b/math/capc-calc/distinfo index b12ddca7145..26ca84fb12e 100644 --- a/math/capc-calc/distinfo +++ b/math/capc-calc/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2003/02/28 19:26:34 wiz Exp $ +$NetBSD: distinfo,v 1.8 2003/08/30 23:27:30 wiz Exp $ -SHA1 (calc-2.11.7.tar.gz) = fb2d7d34d293a9c2e98285dca0ee85c77aaae633 -Size (calc-2.11.7.tar.gz) = 955642 bytes +SHA1 (calc-2.11.8.tar.gz) = d90a9de8346346a5dd25ed19c3cc7e86c6b6a645 +Size (calc-2.11.8.tar.gz) = 956819 bytes SHA1 (patch-aa) = 7ca5ffdb73cf05ec5ceb76c7d529c8f2112ea923 -- cgit v1.2.3