Struct snarkvm_utilities::biginteger::biginteger::BigInteger256 [−][src]
Implementations
Trait Implementations
Constructs a BigInteger by parsing a vector of bits in big endian format
and transforms it into a vector of little endian u64 elements.
Add another representation to this one, returning the carry bit.
Subtract another representation from this one, returning the borrow bit.
Performs a leftwise bitshift of this number, effectively multiplying it by 2. Overflow is ignored. Read more
Performs a rightwise bitshift of this number, effectively dividing it by 2. Read more
Compute the number of bits needed to encode this number. Always a multiple of 64. Read more
Returns the bit representation of the big integer in a big endian boolean array, without leading zeros. Read more
Returns a vector for wnaf.
Returns the bit representation of the big integer in a little endian boolean array, with trailing zeroes. Read more
Writes this BigInteger as a big endian integer. Always writes
(num_bits / 8) bytes. Read more
Returns the “default value” for a type. Read more
Performs the conversion.
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for BigInteger256impl Send for BigInteger256impl Sync for BigInteger256impl Unpin for BigInteger256impl UnwindSafe for BigInteger256Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V