evalue.c: reorder_terms: fix typo
[barvinok.git] / barvinok / polylib.h
blobeabe0fc0142e9067bd03d11b745fe9b0ff222066
1 #ifndef BARVINOK_POLYLIB_H
2 #define BARVINOK_POLYLIB_H
4 #include <gmp.h>
6 #if defined(__cplusplus)
7 extern "C" {
8 #endif
10 #include <polylib/polylibgmp.h>
12 #ifndef value_subtract
13 #define value_subtract value_substract
14 #endif
16 #ifndef value_addmul
17 #define value_addmul(ref,val1,val2) \
18 do { \
19 Value _tmp; \
20 value_init(_tmp); \
21 value_multiply(_tmp,val1,val2); \
22 value_addto(ref,ref,_tmp); \
23 value_clear(_tmp); \
24 } while(0)
25 #endif
27 #undef divide
28 #undef value_compare
30 #if defined(__cplusplus)
32 #endif
34 #endif