mirror of
https://github.com/Z3Prover/z3
synced 2025-08-08 04:01:22 +00:00
na
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
ac0945d617
commit
1355ea432a
2 changed files with 6 additions and 4 deletions
|
@ -2,11 +2,13 @@
|
||||||
#include "math/bigfix/Hacl_Bignum256.h"
|
#include "math/bigfix/Hacl_Bignum256.h"
|
||||||
#include <memory>
|
#include <memory>
|
||||||
|
|
||||||
|
u256::u256() {
|
||||||
|
m_num[0] = m_num[1] = m_num[2] = m_num[3] = 0;
|
||||||
|
}
|
||||||
|
|
||||||
u256::u256(uint64_t n) {
|
u256::u256(uint64_t n) {
|
||||||
m_num[0] = n;
|
m_num[0] = n;
|
||||||
m_num[1] = 0;
|
m_num[1] = m_num[2] = m_num[3] = 0;
|
||||||
m_num[2] = 0;
|
|
||||||
m_num[3] = 0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
u256::u256(uint64_t const* v) {
|
u256::u256(uint64_t const* v) {
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
class u256 {
|
class u256 {
|
||||||
uint64_t m_num[4];
|
uint64_t m_num[4];
|
||||||
public:
|
public:
|
||||||
u256() { memset(this, 0, sizeof(*this)); }
|
u256();
|
||||||
u256(uint64_t n);
|
u256(uint64_t n);
|
||||||
u256(uint64_t const* v);
|
u256(uint64_t const* v);
|
||||||
u256 operator*(u256 const& other) const;
|
u256 operator*(u256 const& other) const;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue