Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
gt.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/numeric/uint128/uint128.hpp
"
4
#include "
barretenberg/vm2/common/field.hpp
"
5
#include "
barretenberg/vm2/common/memory_types.hpp
"
6
7
namespace
bb::avm2::simulation
{
8
9
class
GreaterThanInterface
{
10
public
:
11
virtual
~GreaterThanInterface
() =
default
;
12
virtual
bool
gt
(
const
FF
&
a
,
const
FF
&
b
) = 0;
13
virtual
bool
gt
(
const
uint128_t
&
a
,
const
uint128_t
&
b
) = 0;
14
virtual
bool
gt
(
const
MemoryValue
&
a
,
const
MemoryValue
&
b
) = 0;
15
};
16
17
}
// namespace bb::avm2::simulation
bb::avm2::TaggedValue
Definition
tagged_value.hpp:70
bb::avm2::simulation::GreaterThanInterface
Definition
gt.hpp:9
bb::avm2::simulation::GreaterThanInterface::gt
virtual bool gt(const MemoryValue &a, const MemoryValue &b)=0
bb::avm2::simulation::GreaterThanInterface::gt
virtual bool gt(const FF &a, const FF &b)=0
bb::avm2::simulation::GreaterThanInterface::gt
virtual bool gt(const uint128_t &a, const uint128_t &b)=0
bb::avm2::simulation::GreaterThanInterface::~GreaterThanInterface
virtual ~GreaterThanInterface()=default
a
FF a
Definition
field_gt.test.cpp:52
b
FF b
Definition
field_gt.test.cpp:53
memory_types.hpp
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::FF
AvmFlavorSettings::FF FF
Definition
field.hpp:10
uint128_t
unsigned __int128 uint128_t
Definition
serialize.hpp:44
uint128.hpp
field.hpp
src
barretenberg
vm2
simulation
interfaces
gt.hpp
Generated by
1.9.8