My Project
Loading...
Searching...
No Matches
libpolys
coeffs
si_gmp.h
Go to the documentation of this file.
1
#ifndef COEFFS_SI_GMP_H
2
#define COEFFS_SI_GMP_H
3
4
#include <stddef.h>
5
6
// just assume that factory have been built (cplusplus.h!)
7
// instead of duplicating cf_gmp.h here for now...
8
#ifdef __cplusplus
9
#include "
factory/cf_gmp.h
"
10
#else
11
#include <gmp.h>
12
#endif
13
14
15
#ifndef mpz_size1
16
// This is taken from longrat.h: it seems to be generally GMP-related
17
#define mpz_size1(A) (ABS((A)->_mp_size))
18
#define mpz_sgn1(A) ((A)->_mp_size)
19
//#define mpz_size1(A) mpz_size(A)
20
#endif
// mpz_size1
21
22
23
#endif
/* ! COEFFS_SI_GMP_H */
cf_gmp.h
Generated on Mon Feb 27 2023 10:53:49 for My Project by
doxygen 1.9.5
for
Singular