head	1.1;
access;
symbols
	pkgsrc-2026Q1:1.1.0.82
	pkgsrc-2026Q1-base:1.1
	pkgsrc-2025Q4:1.1.0.80
	pkgsrc-2025Q4-base:1.1
	pkgsrc-2025Q3:1.1.0.78
	pkgsrc-2025Q3-base:1.1
	pkgsrc-2025Q2:1.1.0.76
	pkgsrc-2025Q2-base:1.1
	pkgsrc-2025Q1:1.1.0.74
	pkgsrc-2025Q1-base:1.1
	pkgsrc-2024Q4:1.1.0.72
	pkgsrc-2024Q4-base:1.1
	pkgsrc-2024Q3:1.1.0.70
	pkgsrc-2024Q3-base:1.1
	pkgsrc-2024Q2:1.1.0.68
	pkgsrc-2024Q2-base:1.1
	pkgsrc-2024Q1:1.1.0.66
	pkgsrc-2024Q1-base:1.1
	pkgsrc-2023Q4:1.1.0.64
	pkgsrc-2023Q4-base:1.1
	pkgsrc-2023Q3:1.1.0.62
	pkgsrc-2023Q3-base:1.1
	pkgsrc-2023Q2:1.1.0.60
	pkgsrc-2023Q2-base:1.1
	pkgsrc-2023Q1:1.1.0.58
	pkgsrc-2023Q1-base:1.1
	pkgsrc-2022Q4:1.1.0.56
	pkgsrc-2022Q4-base:1.1
	pkgsrc-2022Q3:1.1.0.54
	pkgsrc-2022Q3-base:1.1
	pkgsrc-2022Q2:1.1.0.52
	pkgsrc-2022Q2-base:1.1
	pkgsrc-2022Q1:1.1.0.50
	pkgsrc-2022Q1-base:1.1
	pkgsrc-2021Q4:1.1.0.48
	pkgsrc-2021Q4-base:1.1
	pkgsrc-2021Q3:1.1.0.46
	pkgsrc-2021Q3-base:1.1
	pkgsrc-2021Q2:1.1.0.44
	pkgsrc-2021Q2-base:1.1
	pkgsrc-2021Q1:1.1.0.42
	pkgsrc-2021Q1-base:1.1
	pkgsrc-2020Q4:1.1.0.40
	pkgsrc-2020Q4-base:1.1
	pkgsrc-2020Q3:1.1.0.38
	pkgsrc-2020Q3-base:1.1
	pkgsrc-2020Q2:1.1.0.34
	pkgsrc-2020Q2-base:1.1
	pkgsrc-2020Q1:1.1.0.14
	pkgsrc-2020Q1-base:1.1
	pkgsrc-2019Q4:1.1.0.36
	pkgsrc-2019Q4-base:1.1
	pkgsrc-2019Q3:1.1.0.32
	pkgsrc-2019Q3-base:1.1
	pkgsrc-2019Q2:1.1.0.30
	pkgsrc-2019Q2-base:1.1
	pkgsrc-2019Q1:1.1.0.28
	pkgsrc-2019Q1-base:1.1
	pkgsrc-2018Q4:1.1.0.26
	pkgsrc-2018Q4-base:1.1
	pkgsrc-2018Q3:1.1.0.24
	pkgsrc-2018Q3-base:1.1
	pkgsrc-2018Q2:1.1.0.22
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.20
	pkgsrc-2018Q1-base:1.1
	pkgsrc-2017Q4:1.1.0.18
	pkgsrc-2017Q4-base:1.1
	pkgsrc-2017Q3:1.1.0.16
	pkgsrc-2017Q3-base:1.1
	pkgsrc-2017Q2:1.1.0.12
	pkgsrc-2017Q2-base:1.1
	pkgsrc-2017Q1:1.1.0.10
	pkgsrc-2017Q1-base:1.1
	pkgsrc-2016Q4:1.1.0.8
	pkgsrc-2016Q4-base:1.1
	pkgsrc-2016Q3:1.1.0.6
	pkgsrc-2016Q3-base:1.1
	pkgsrc-2016Q2:1.1.0.4
	pkgsrc-2016Q2-base:1.1
	pkgsrc-2016Q1:1.1.0.2
	pkgsrc-2016Q1-base:1.1;
locks; strict;
comment	@# @;


1.1
date	2016.03.03.13.23.22;	author wiz;	state Exp;
branches;
next	;
commitid	jkHeZ4qQYkAkpcXy;


desc
@@


1.1
log
@Re-import pari-2.3.5nb19 as math/pari23 to prepare for pari update.

PARI-GP is a package which is aimed at efficient computations in
number theory, but also contains a large number of other useful
functions.  It is somewhat related to a Computer Algebra System, but
is not really one since it treats symbolic expressions as mathematical
entities such as matrices, polynomials, series, etc..., and not as
expressions per se.  However it is often much faster than other CAS,
and contains a large number of specific functions not found elsewhere,
essentially for use in number theory.

This package can be used in an interactive shell (GP) or as a C/C++
library (PARI). It is free software, in the sense of freedom AND 'free
of charge'.

This is the old 2.3 version of pari.
@
text
@$NetBSD: patch-an,v 1.3 2010/02/12 18:18:29 sno Exp $

--- src/language/anal.h.orig	2008-06-10 15:43:14.000000000 +0000
+++ src/language/anal.h
@@@@ -61,7 +61,6 @@@@ void   changevalue_p(entree *ep, GEN x);
 void   changevalue(entree *ep, GEN val);
 entree *do_alias(entree *ep);
 int    is_identifier(char *s);
-entree *is_entry_intern(char *s, entree **table, long *hash);
 long   is_keyword_char(char c);
 char   *readstring(char *src, char *s);
 long   loop_break(void);
@@@@ -80,23 +79,15 @@@@ void hit_return(void);
 extern char *gp_function_name;
 extern int  (*whatnow_fun)(char *, int);
 extern void (*sigint_fun)(void);
-extern void *foreignHandler;
-extern GEN  (*foreignExprHandler)(char*);
-extern char foreignExprSwitch;
-extern entree * (*foreignAutoload)(char*, long);
-extern void (*foreignFuncFree)(entree *);
 extern int (*default_exception_handler)(long);
 
 extern const long functions_tblsz;  /* hashcodes table size */
 /* Variables containing the list of PARI functions */
-extern entree **functions_hash;    /* functions hashtable */
 extern entree **members_hash;      /* members hashtable */
-extern entree functions_basic[];
 
 /* Variables containing the list of specific GP functions */
 extern entree  functions_gp[];
 extern entree  gp_member_list[];
-extern entree  functions_highlevel[];
 
 /* Variables containing the list of old PARI fonctions (up to 1.39.15) */
 extern entree **funct_old_hash;    /* hashtable */
@@@@ -118,13 +109,6 @@@@ enum { RET_GEN, RET_INT, RET_LONG, RET_V
 extern void *PARI_stack_limit;
 #endif
 
-/* entrees */
-#define EpVALENCE(ep) ((ep)->valence & 0xFF)
-#define EpSTATIC(ep) ((ep)->valence & 0x100)
-#define EpSETSTATIC(ep) ((ep)->valence |= 0x100)
-#define EpPREDEFINED(ep) (EpVALENCE(ep) < EpUSER)
-enum { EpUSER = 100, EpNEW, EpALIAS, EpVAR, EpGVAR, EpMEMBER, EpINSTALL };
-
 /* defaults  */
 char* get_sep(const char *t);
 long get_int(const char *s, long dflt);
@
