3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-07-03 09:34:53 -07:00
parent c3ac079272
commit 4a94d13c4d
4 changed files with 66 additions and 6 deletions

View file

@ -7,9 +7,11 @@ class u256 {
public:
u256() { memset(this, 0, sizeof(*this)); }
u256(uint64_t n);
u256(uint64_t const* v) { memcpy(m_num, v, sizeof(*this)); }
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);
u256& operator*=(u256 const& other);
u256& operator-=(u256 const& other);
};