mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 10:55:50 +00:00
test / fix wrap-around for mod-interval
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
1355ea432a
commit
ff717a9db1
5 changed files with 120 additions and 51 deletions
|
@ -9,8 +9,8 @@ public:
|
|||
u256(uint64_t n);
|
||||
u256(uint64_t const* v);
|
||||
u256 operator*(u256 const& other) const;
|
||||
u256 operator+(u256 const& other) const;
|
||||
u256 operator-(u256 const& other) const;
|
||||
u256 operator+(u256 const& other) const { u256 r = *this; return r += other; }
|
||||
u256 operator-(u256 const& other) const { u256 r = *this; return r -= other; }
|
||||
u256& operator+=(u256 const& other);
|
||||
u256& operator*=(u256 const& other);
|
||||
u256& operator-=(u256 const& other);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue