Barretenberg
The ZK-SNARK library at the core of Aztec
|
Represents a single limb of a bigfield element, with its value and maximum value. More...
#include <bigfield.hpp>
Public Member Functions | |
Limb ()=default | |
Limb (const field_t< Builder > &input, const uint256_t &max=DEFAULT_MAXIMUM_LIMB) | |
Limb (const Limb &other)=default | |
Limb (Limb &&other) noexcept=default | |
Limb & | operator= (const Limb &other)=default |
Limb & | operator= (Limb &&other) noexcept=default |
~Limb ()=default | |
Public Attributes | |
field_t< Builder > | element |
uint256_t | maximum_value |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Limb &a) |
Represents a single limb of a bigfield element, with its value and maximum value.
The default maximum value of a new limb is set to 2^L - 1.
Definition at line 44 of file bigfield.hpp.
|
default |
|
inline |
Definition at line 46 of file bigfield.hpp.
|
default |
|
defaultnoexcept |
|
default |
|
default |
|
defaultnoexcept |
|
friend |
Definition at line 56 of file bigfield.hpp.
field_t<Builder> bb::stdlib::bigfield< Builder, T >::Limb::element |
Definition at line 67 of file bigfield.hpp.
uint256_t bb::stdlib::bigfield< Builder, T >::Limb::maximum_value |
Definition at line 68 of file bigfield.hpp.