3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-27 10:55:50 +00:00

initial u256

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2021-07-02 16:24:23 -07:00
parent c053c7f1c8
commit babb90832c
22 changed files with 6635 additions and 1 deletions

11
src/math/bigfix/u256.h Normal file
View file

@ -0,0 +1,11 @@
#pragma once
#include "util/util.h"
class u256 {
uint64_t m_num[4];
public:
u256() { memset(this, 0, sizeof(*this)); }
u256(uint64_t const* v) { memcpy(m_num, v, sizeof(*this)); }
u256 operator*(u256 const& other) const;
};