Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
field_gt_event.hpp
Go to the documentation of this file.
1#pragma once
2
6
7namespace bb::avm2::simulation {
8
9enum class FieldGreaterOperation : uint8_t {
12};
13
17 bool borrow;
18
19 bool operator==(const LimbsComparisonWitness& other) const = default;
20};
21
22// We default initialize fields which are not involved into a canonical decomposition operation.
32 bool gt_result = false; // Not relevant for operation == FieldGreaterOperation::CANONICAL_DECOMPOSITIONs
33
34 bool operator==(const FieldGreaterThanEvent& other) const = default;
35};
36
37} // namespace bb::avm2::simulation
AvmFlavorSettings::FF FF
Definition field.hpp:10
unsigned __int128 uint128_t
Definition serialize.hpp:44
bool operator==(const FieldGreaterThanEvent &other) const =default
bool operator==(const LimbsComparisonWitness &other) const =default
static constexpr field zero()