Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
uint_decomposition.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4
7
8namespace bb::avm2::simulation {
9
13
14 bool operator==(const U256Decomposition& other) const = default;
15};
16
18
20 uint64_t lo;
21 uint64_t hi;
22
23 bool operator==(const U128Decomposition& other) const = default;
24};
25
27
28} // namespace bb::avm2::simulation
U256Decomposition decompose_256(const uint256_t &x)
U128Decomposition decompose_128(const uint128_t &x)
unsigned __int128 uint128_t
Definition serialize.hpp:44
bool operator==(const U128Decomposition &other) const =default
bool operator==(const U256Decomposition &other) const =default