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
11
12namespace bb::avm2::simulation {
13
15 public:
16 virtual ~GreaterThanInterface() = default;
17 virtual bool gt(const FF& a, const FF& b) = 0;
18 virtual bool gt(const uint128_t& a, const uint128_t& b) = 0;
19 virtual bool gt(const MemoryValue& a, const MemoryValue& b) = 0;
20};
21
41
42} // namespace bb::avm2::simulation
EventEmitterInterface< GreaterThanEvent > & events
Definition gt.hpp:39
FieldGreaterThanInterface & field_gt
Definition gt.hpp:37
GreaterThan(FieldGreaterThanInterface &field_gt, RangeCheckInterface &range_check, EventEmitterInterface< GreaterThanEvent > &event_emitter)
Definition gt.hpp:24
RangeCheckInterface & range_check
Definition gt.hpp:38
virtual bool gt(const MemoryValue &a, const MemoryValue &b)=0
virtual bool gt(const FF &a, const FF &b)=0
virtual bool gt(const uint128_t &a, const uint128_t &b)=0
EventEmitter< DataCopyEvent > event_emitter
FF a
FF b
AvmFlavorSettings::FF FF
Definition field.hpp:10
unsigned __int128 uint128_t
Definition serialize.hpp:44