3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-22 00:26:38 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-07-02 16:34:33 -07:00
parent babb90832c
commit 1ed1e416b7

View file

@ -6,6 +6,10 @@ class u256 {
uint64_t m_num[4];
public:
u256() { memset(this, 0, sizeof(*this)); }
u256(uint64_t n);
u256(uint64_t const* v) { memcpy(m_num, v, sizeof(*this)); }
u256 operator*(u256 const& other) const;
u256 operator+(u256 const& other) const;
u256 operator-(u256 const& other) const;
};