3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

working on pivot

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-04-20 17:42:01 -07:00
parent 80751bdd12
commit 36cd80748f
6 changed files with 74 additions and 55 deletions

View file

@ -88,6 +88,8 @@ public:
void neg(mpf & o);
void neg(mpf const & x, mpf & o);
void swap(mpf& a, mpf& b) { a.swap(b); }
bool is_zero(mpf const & x);
bool is_neg(mpf const & x);

View file

@ -61,11 +61,13 @@ public:
}
void swap(_scoped_numeral & n) {
m_num.swap(n.m_num);
m().swap(m_num, n.m_num);
// m_num.swap(n.m_num);
}
void swap(numeral & n) {
m_num.swap(n);
m().swap(m_num, n);
// m_num.swap(n);
}
_scoped_numeral & operator+=(numeral const & a) {