source:
git/libpolys/coeffs/si_gmp.h
@
13621c7
Last change on this file since 13621c7 was 7ee69f, checked in by , 11 years ago | |
---|---|
|
|
File size: 477 bytes |
Rev | Line | |
---|---|---|
[2bc4f5] | 1 | #ifndef COEFFS_SI_GMP_H |
2 | #define COEFFS_SI_GMP_H | |
[2111465] | 3 | |
[7ee69f] | 4 | #include <stddef.h> |
[e4fe2b] | 5 | |
[868735] | 6 | #ifdef HAVE_FACTORY |
[e4fe2b] | 7 | // just assume that factory have been built (cplusplus.h!) |
8 | // instead of duplicating cf_gmp.h here for now... | |
[868735] | 9 | #include <factory/cf_gmp.h> |
[7d90aa] | 10 | #else |
[868735] | 11 | #include <gmp.h> |
[7d90aa] | 12 | #endif |
13 | ||
[2bc4f5] | 14 | #ifndef mpz_size1 |
15 | // This is taken from longrat.h: it seems to be generally GMP-related | |
16 | #define mpz_size1(A) (ABS((A)->_mp_size)) | |
17 | //#define mpz_size1(A) mpz_size(A) | |
18 | #endif // mpz_size1 | |
19 | ||
20 | ||
21 | #endif /* ! COEFFS_SI_GMP_H */ |
Note: See TracBrowser
for help on using the repository browser.