Barretenberg
The ZK-SNARK library at the core of Aztec
Loading...
Searching...
No Matches
fake_gt.cpp
Go to the documentation of this file.
2
7
8namespace bb::avm2::simulation {
9
10bool FakeGreaterThan::gt(const FF& a, const FF& b)
11{
12 return static_cast<uint256_t>(a) > static_cast<uint256_t>(b);
13}
14
16{
17 return a > b;
18}
19
21{
22 // < and <= implemented on MemoryValue
23 return b <= a;
24}
25
26} // namespace bb::avm2::simulation
bool gt(const FF &a, const FF &b) override
Definition fake_gt.cpp:10
FF a
FF b
AvmFlavorSettings::FF FF
Definition field.hpp:10
unsigned __int128 uint128_t
Definition serialize.hpp:44