My Project
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#include "factory/cf_gmp.h"
9
10#ifndef mpz_size1
11// This is taken from longrat.h: it seems to be generally GMP-related
12#define mpz_size1(A) (ABS((A)->_mp_size))
13#define mpz_sgn1(A) ((A)->_mp_size)
14//#define mpz_size1(A) mpz_size(A)
15#endif // mpz_size1
16
17
18#endif /* ! COEFFS_SI_GMP_H */