3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-03-08 08:35:54 -08:00
parent e7ded9cdbd
commit 3293aeb7c7
2 changed files with 7 additions and 0 deletions

View file

@ -173,6 +173,10 @@ public:
return *this;
}
rational& operator-=(int r) {
(*this) -= rational(r);
return *this;
}
rational & operator*=(rational const & r) {
m().mul(m_val, r.m_val, m_val);