3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-05-08 16:25:48 +00:00

moving to rational coefficients

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2013-11-21 15:55:08 -08:00
parent e44db06bb7
commit 97dfb6d521
7 changed files with 261 additions and 119 deletions

View file

@ -29,8 +29,8 @@ namespace smt {
struct sort_expr;
class pb_justification;
typedef int64 numeral;
typedef svector<std::pair<literal, numeral> > arg_t;
typedef rational numeral;
typedef vector<std::pair<literal, numeral> > arg_t;
struct stats {
unsigned m_num_conflicts;
@ -91,8 +91,8 @@ namespace smt {
bool well_formed() const;
static numeral gcd(numeral a, numeral b);
static numeral lcm(numeral a, numeral b);
//static numeral gcd(numeral a, numeral b);
//static numeral lcm(numeral a, numeral b);
};