Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
bb::avm2::simulation::GreaterThan Class Reference

#include <gt.hpp>

Inheritance diagram for bb::avm2::simulation::GreaterThan:
bb::avm2::simulation::GreaterThanInterface

Public Member Functions

 GreaterThan (FieldGreaterThanInterface &field_gt, RangeCheckInterface &range_check, EventEmitterInterface< GreaterThanEvent > &event_emitter)
 
bool gt (const FF &a, const FF &b) override
 
bool gt (const uint128_t &a, const uint128_t &b) override
 
bool gt (const MemoryValue &a, const MemoryValue &b) override
 
- Public Member Functions inherited from bb::avm2::simulation::GreaterThanInterface
virtual ~GreaterThanInterface ()=default
 

Private Attributes

FieldGreaterThanInterfacefield_gt
 
RangeCheckInterfacerange_check
 
EventEmitterInterface< GreaterThanEvent > & events
 

Detailed Description

Definition at line 22 of file gt.hpp.

Constructor & Destructor Documentation

◆ GreaterThan()

bb::avm2::simulation::GreaterThan::GreaterThan ( FieldGreaterThanInterface field_gt,
RangeCheckInterface range_check,
EventEmitterInterface< GreaterThanEvent > &  event_emitter 
)
inline

Definition at line 24 of file gt.hpp.

Member Function Documentation

◆ gt() [1/3]

bool bb::avm2::simulation::GreaterThan::gt ( const FF a,
const FF b 
)
overridevirtual

Implements bb::avm2::simulation::GreaterThanInterface.

Definition at line 10 of file gt.cpp.

◆ gt() [2/3]

bool bb::avm2::simulation::GreaterThan::gt ( const MemoryValue a,
const MemoryValue b 
)
overridevirtual

Implements bb::avm2::simulation::GreaterThanInterface.

Definition at line 30 of file gt.cpp.

◆ gt() [3/3]

bool bb::avm2::simulation::GreaterThan::gt ( const uint128_t a,
const uint128_t b 
)
overridevirtual

Implements bb::avm2::simulation::GreaterThanInterface.

Definition at line 15 of file gt.cpp.

Member Data Documentation

◆ events

EventEmitterInterface<GreaterThanEvent>& bb::avm2::simulation::GreaterThan::events
private

Definition at line 39 of file gt.hpp.

◆ field_gt

FieldGreaterThanInterface& bb::avm2::simulation::GreaterThan::field_gt
private

Definition at line 37 of file gt.hpp.

◆ range_check

RangeCheckInterface& bb::avm2::simulation::GreaterThan::range_check
private

Definition at line 38 of file gt.hpp.


The documentation for this class was generated from the following files: