Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
range_check.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/numeric/uint128/uint128.hpp
"
4
#include <cstdint>
5
6
namespace
bb::avm2::simulation
{
7
8
class
RangeCheckInterface
{
9
public
:
10
virtual
~RangeCheckInterface
() =
default
;
11
virtual
void
assert_range
(
uint128_t
value
, uint8_t num_bits) = 0;
12
};
13
14
}
// namespace bb::avm2::simulation
bb::avm2::simulation::RangeCheckInterface
Definition
range_check.hpp:8
bb::avm2::simulation::RangeCheckInterface::assert_range
virtual void assert_range(uint128_t value, uint8_t num_bits)=0
bb::avm2::simulation::RangeCheckInterface::~RangeCheckInterface
virtual ~RangeCheckInterface()=default
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
value
FF value
Definition
public_data_tree.test.cpp:97
uint128_t
unsigned __int128 uint128_t
Definition
serialize.hpp:44
uint128.hpp
src
barretenberg
vm2
simulation
interfaces
range_check.hpp
Generated by
1.9.8