version 1.2, 2017/03/31 02:17:52 |
version 1.4, 2021/03/25 07:03:21 |
|
|
#include <stdlib.h> |
#include <stdlib.h> |
#include <string.h> |
#include <string.h> |
#include "pari/pari.h" |
#include "pari/pari.h" |
|
#if 0 |
#include "pari/paripriv.h" |
#include "pari/paripriv.h" |
|
#endif |
#include "gmp.h" |
#include "gmp.h" |
/* inconsistency between PARI and GMP */ |
/* inconsistency between PARI and GMP */ |
#undef un |
#undef un |
|
|
void init_pari(void); |
void init_pari(void); |
cmo_error2 *make_error2(char *message); |
cmo_error2 *make_error2(char *message); |
|
|
|
int gmp_check(void); |
cmo *GEN_to_cmo(GEN z); |
cmo *GEN_to_cmo(GEN z); |
cmo_zz *GEN_to_cmo_zz(GEN z); |
cmo_zz *GEN_to_cmo_zz(GEN z); |
cmo_qq *GEN_to_cmo_qq(GEN z); |
cmo_qq *GEN_to_cmo_qq(GEN z); |
|
|
char *name; |
char *name; |
GEN (*f)(); |
GEN (*f)(); |
int type; |
int type; |
|
int opt; |
}; |
}; |
|
|
#define MPFR_PREC(x) ((x)->_mpfr_prec) |
#define MPFR_PREC(x) ((x)->_mpfr_prec) |