mirror of
https://github.com/Z3Prover/z3
synced 2025-04-25 01:55:32 +00:00
mpq/mpz features from LRA
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
60725f5384
commit
085d31dca2
2 changed files with 14 additions and 1 deletions
|
@ -593,6 +593,15 @@ public:
|
|||
}
|
||||
}
|
||||
|
||||
bool lt(mpz const& a, int b) {
|
||||
if (is_small(a)) {
|
||||
return a.m_val < b;
|
||||
}
|
||||
else {
|
||||
return lt(a, mpz(b));
|
||||
}
|
||||
}
|
||||
|
||||
bool lt(mpz const & a, mpz const & b) {
|
||||
if (is_small(a) && is_small(b)) {
|
||||
return a.m_val < b.m_val;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue