Release calc version 2.12.0.3

This commit is contained in:
Landon Curt Noll
2006-06-11 00:54:41 -07:00
parent 9d62873a02
commit bd3086138b
43 changed files with 2651 additions and 829 deletions

15
zmath.h
View File

@@ -17,8 +17,8 @@
* received a copy with calc; if not, write to Free Software Foundation, Inc.
* 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*
* @(#) $Revision: 29.15 $
* @(#) $Id: zmath.h,v 29.15 2006/05/21 07:10:22 chongo Exp $
* @(#) $Revision: 29.17 $
* @(#) $Id: zmath.h,v 29.17 2006/06/11 07:07:23 chongo Exp $
* @(#) $Source: /usr/local/src/cmd/calc/RCS/zmath.h,v $
*
* Under source code control: 1993/07/30 19:42:48
@@ -228,11 +228,12 @@ typedef SB32 LEN; /* unit of length storage */
#define MAXLEN ((LEN) 0x7fffffff >> 3) /* longest value allowed */
#define MAXREDC 5 /* number of entries in REDC cache */
#define SQ_ALG2 20 /* size for alternative squaring */
#define MUL_ALG2 20 /* size for alternative multiply */
#define POW_ALG2 40 /* size for using REDC for powers */
#define REDC_ALG2 50 /* size for using alternative REDC */
#define MAXREDC 64 /* number of entries in REDC cache */
#define SQ_ALG2 3388 /* size for alternative squaring */
#define MUL_ALG2 1780 /* size for alternative multiply */
#define POW_ALG2 176 /* size for using REDC for powers */
/* old REDC_ALG2 was 5/4 of POW_ALG2, so we will keep the same ratio */
#define REDC_ALG2 220 /* size for using alternative REDC */
typedef union {