|
Barretenberg
The ZK-SNARK library at the core of Aztec
|
#include <field_gt.hpp>
Public Member Functions | |
| FieldGreaterThan (RangeCheckInterface &range_check, EventEmitterInterface< FieldGreaterThanEvent > &event_emitter) | |
| bool | ff_gt (const FF &a, const FF &b) override |
| Computes the result of a > b (in a constrained way). | |
| U256Decomposition | canon_dec (const FF &a) override |
| Decomposes the provided field element into 128-bit limbs (in a constrained way). | |
Public Member Functions inherited from bb::avm2::simulation::FieldGreaterThanInterface | |
| virtual | ~FieldGreaterThanInterface ()=default |
Private Attributes | |
| RangeCheckInterface & | range_check |
| EventEmitterInterface< FieldGreaterThanEvent > & | events |
Definition at line 11 of file field_gt.hpp.
|
inline |
Definition at line 13 of file field_gt.hpp.
|
overridevirtual |
Decomposes the provided field element into 128-bit limbs (in a constrained way).
| a | The field element to be decomposed. |
Implements bb::avm2::simulation::FieldGreaterThanInterface.
Definition at line 108 of file field_gt.cpp.
Computes the result of a > b (in a constrained way).
| a | The first field element. |
| b | The second field element. |
Implements bb::avm2::simulation::FieldGreaterThanInterface.
Definition at line 66 of file field_gt.cpp.
|
private |
Definition at line 23 of file field_gt.hpp.
|
private |
Definition at line 22 of file field_gt.hpp.