Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
field_gt.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
barretenberg/vm2/common/field.hpp
"
4
#include "
barretenberg/vm2/simulation/lib/uint_decomposition.hpp
"
5
6
namespace
bb::avm2::simulation
{
7
8
class
FieldGreaterThanInterface
{
9
public
:
10
virtual
~FieldGreaterThanInterface
() =
default
;
11
virtual
bool
ff_gt
(
const
FF
&
a
,
const
FF
&
b
) = 0;
12
virtual
U256Decomposition
canon_dec
(
const
FF
&
a
) = 0;
13
};
14
15
}
// namespace bb::avm2::simulation
bb::avm2::simulation::FieldGreaterThanInterface
Definition
field_gt.hpp:8
bb::avm2::simulation::FieldGreaterThanInterface::ff_gt
virtual bool ff_gt(const FF &a, const FF &b)=0
bb::avm2::simulation::FieldGreaterThanInterface::~FieldGreaterThanInterface
virtual ~FieldGreaterThanInterface()=default
bb::avm2::simulation::FieldGreaterThanInterface::canon_dec
virtual U256Decomposition canon_dec(const FF &a)=0
a
FF a
Definition
field_gt.test.cpp:52
b
FF b
Definition
field_gt.test.cpp:53
bb::avm2::simulation
Definition
address_derivation_event.hpp:6
bb::avm2::FF
AvmFlavorSettings::FF FF
Definition
field.hpp:10
bb::avm2::simulation::U256Decomposition
Definition
uint_decomposition.hpp:8
uint_decomposition.hpp
field.hpp
src
barretenberg
vm2
simulation
interfaces
field_gt.hpp
Generated by
1.9.8