Template base class for unsigned big integers.
Declared in <arith_uint256.h>
template<unsigned int BITS>
class base_uint;
| Name | Description |
|---|---|
base_uint [constructor] | Constructors |
operator= | Assignment operators |
CompareTo | Numeric ordering, treating the value as an unsigned integer rather than a byte blob. |
EqualTo | Tests whether the value equals a 64-bit unsigned number. |
GetHex | Hex encoding of the number (with the most significant digits first). |
GetLow64 | Returns the low 64 bits of the value. |
ToString | Returns the value as a human-readable string. |
bits | Returns the position of the highest bit set plus one, or zero if the value is zero. |
getdouble | Converts the value to a double-precision floating-point number. |
operator&= | Applies a bitwise AND with another big integer in place. |
operator*= | Multiplication assignment operators |
operator++ | Increment operators |
operator+= | Addition assignment operators |
operator- | Returns the two's-complement negation of the value. |
operator-- | Decrement operators |
operator-= | Subtraction assignment operators |
operator/= | Divides this value by another big integer in place. |
operator<<= | Shifts the value left by the given number of bits in place. |
operator>>= | Shifts the value right by the given number of bits in place. |
operator^= | Bitwise exclusive-or assignment operators |
operator|= | Bitwise disjunction assignment operators |
operator~ | Returns the bitwise complement of the value. |
size | Returns the size in bytes of the internal representation. |
| Name | Description |
|---|---|
pn | Big integer represented with 32-bit digits, least-significant first. |
| Name | Description |
|---|---|
WIDTH | Number of 32-bit digits used to store the value. |
| Name |
|---|
base_uint<256> |
| Name | Description |
|---|---|
operator== | Tests whether a big integer equals a 64-bit value. |
operator<=> | Performs a three-way comparison of two big integers. |
operator== | Tests whether two big integers are equal. |
operator* | Returns the product of a big integer and a 32-bit value. |
operator<< | Returns the value shifted left by a number of bits. |
operator>> | Returns the value shifted right by a number of bits. |
operator^ | Returns the bitwise XOR of two big integers. |
operator& | Returns the bitwise AND of two big integers. |
operator| | Returns the bitwise OR of two big integers. |
operator/ | Returns the quotient of two big integers. |
operator* | Returns the product of two big integers. |
operator- | Returns the difference of two big integers. |
operator+ | Returns the sum of two big integers. |
| Name | Description |
|---|---|
operator& | Returns the bitwise AND of two big integers. |
operator* | Returns the product of a big integer and a 32-bit value. |
operator* | Returns the product of two big integers. |
operator+ | Returns the sum of two big integers. |
operator- | Returns the difference of two big integers. |
operator/ | Returns the quotient of two big integers. |
operator<< | Returns the value shifted left by a number of bits. |
operator<=> | Performs a three-way comparison of two big integers. |
operator== | Tests whether two big integers are equal. |
operator== | Tests whether a big integer equals a 64-bit value. |
operator>> | Returns the value shifted right by a number of bits. |
operator^ | Returns the bitwise XOR of two big integers. |
operator| | Returns the bitwise OR of two big integers. |
| Name | Description |
|---|---|
arith_uint256 | 256-bit unsigned big integer. |