Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
constants.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <cstddef>
4#include <cstdint>
5
9
10namespace bb::avm2 {
11
14
15// Also used for op_id in the circuit trace
21
22constexpr uint256_t MASK_128 = (static_cast<uint256_t>(1) << 128) - 1;
23constexpr uint128_t MASK_64 = (static_cast<uint128_t>(1) << 64) - 1;
24
25} // namespace bb::avm2
#define AVM_BITWISE_AND_OP_ID
#define AVM_BITWISE_OR_OP_ID
#define AVM_BITWISE_XOR_OP_ID
constexpr std::size_t MAX_AVM_TRACE_SIZE
Definition constants.hpp:13
constexpr uint128_t MASK_64
Definition constants.hpp:23
constexpr uint256_t MASK_128
Definition constants.hpp:22
constexpr std::size_t MAX_AVM_TRACE_LOG_SIZE
Definition constants.hpp:12
constexpr decltype(auto) get(::tuplet::tuple< T... > &&t) noexcept
Definition tuple.hpp:13
unsigned __int128 uint128_t
Definition serialize.hpp:44