| version 1.70, 2008/08/11 16:23:24 |
version 1.76, 2009/03/16 16:43:03 |
|
|
| * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
* DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE, |
| * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
* PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE. |
| * |
* |
| * $OpenXM: OpenXM_contrib2/asir2000/include/ca.h,v 1.69 2008/08/08 11:16:34 ohara Exp $ |
* $OpenXM: OpenXM_contrib2/asir2000/include/ca.h,v 1.75 2009/02/05 08:37:02 ohara Exp $ |
| */ |
*/ |
| #include <stdio.h> |
#include <stdio.h> |
| #include <stdlib.h> |
#include <stdlib.h> |
|
|
| A_end=0,A_fnode,A_arf,A_int,A_str,A_internal,A_node,A_notimpl,A_func |
A_end=0,A_fnode,A_arf,A_int,A_str,A_internal,A_node,A_notimpl,A_func |
| } farg_type; |
} farg_type; |
| |
|
| #if defined(LONG_IS_32BIT) |
#if SIZEOF_LONG == 4 |
| #if defined(VISUAL) |
#if defined(VISUAL) |
| typedef _int64 L; |
typedef _int64 L; |
| typedef unsigned _int64 UL; |
typedef unsigned _int64 UL; |
| Line 625 struct order_spec { |
|
| Line 625 struct order_spec { |
|
| int id; |
int id; |
| Obj obj; |
Obj obj; |
| int nv; |
int nv; |
| |
int ispot; /* 1 means Position over Term (Pos then Term) */ |
| union { |
union { |
| int simple; |
int simple; |
| struct { |
struct { |
| Line 1426 LUM LUMALLOC(int, int); |
|
| Line 1427 LUM LUMALLOC(int, int); |
|
| BM BMALLOC(int, int); |
BM BMALLOC(int, int); |
| Obj ToAlg(Num); |
Obj ToAlg(Num); |
| UM *berlemain(register int, UM, UM *); |
UM *berlemain(register int, UM, UM *); |
| |
void Risa_GC_set_adj(int,int); |
| |
void Risa_GC_get_adj(int *,int *); |
| void *Risa_GC_malloc(size_t); |
void *Risa_GC_malloc(size_t); |
| void *Risa_GC_malloc_atomic(size_t); |
void *Risa_GC_malloc_atomic(size_t); |
| void *Risa_GC_realloc(void *,size_t); |
void *Risa_GC_realloc(void *,size_t); |
| Line 2642 void addnbp(VL vl,NBP p1,NBP p2, NBP *rp); |
|
| Line 2645 void addnbp(VL vl,NBP p1,NBP p2, NBP *rp); |
|
| void mulnbp(VL vl,NBP p1,NBP p2, NBP *rp); |
void mulnbp(VL vl,NBP p1,NBP p2, NBP *rp); |
| void pwrnbp(VL vl,NBP p1,Q n, NBP *rp); |
void pwrnbp(VL vl,NBP p1,Q n, NBP *rp); |
| int compnbp(VL vl,NBP p1,NBP p2); |
int compnbp(VL vl,NBP p1,NBP p2); |
| |
|
| |
#if defined(PARI23) |
| |
#define prec precreal |
| |
#define mppgcd(a,b) (gcdii((a),(b))) |
| |
#endif |