|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
| uint256_t (T low) |
| Parameterized constructor.
|
|
| uint256_t (const std::string &str) |
| Parameterized constructor.
|
|
| uint256_t (const uint256_t &num)=default |
| Copy constructor.
|
|
| uint256_t (uint256_t &&num) noexcept |
| Move constructor.
|
|
| uint256_t (uint128_t high, uint128_t low) |
| Parameterized constructor.
|
|
| uint256_t (const uint64_t high, const uint64_t low) |
| Parameterized constructor.
|
|
| ~uint256_t ()=default |
| Destructor for uint256_t.
|
|
uint32_t | _lez () |
| Leading zeroes in binary.
|
|
uint32_t | _trz () |
| Trailing zeroes in binary.
|
|
| operator bool () const |
| casting operator to boolean value
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
| operator T () const |
| casting operator to any integer value
|
|
| operator uint128_t () const |
| casting operator to uint128_t
|
|
uint128_t | lower () const |
| returns lower 128-bit integer part
|
|
uint128_t | upper () const |
| returns upper 128-bit integer part
|
|
uint256_t & | operator= (const uint256_t &p)=default |
| operator = for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator= (const T &p) |
| operator = for other types
|
|
uint256_t & | operator= (const std::string &p) |
| operator = for type string
|
|
uint256_t & | operator= (uint256_t &&p)=default |
| Move assignment operator.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator+ (const T &p) |
| operator + for uint256_t and other integer types.
|
|
uint256_t | operator+ (const uint256_t &p) |
| operator + for uint256_t and other integer types.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator+= (const T &p) |
| operator += for uint256_t and other integer types.
|
|
uint256_t & | operator+= (const uint256_t &p) |
| operator += for uint256_t
|
|
uint256_t & | operator++ () |
| pre-increment operator
|
|
uint256_t | operator++ (int) |
| post-increment operator
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator- (const T &p) |
| operator - for uint256_t and other integer types.
|
|
uint256_t | operator- (const uint256_t &p) |
| operator - for uint256_t
|
|
uint256_t | operator- () |
| operator - using twos complement
|
|
uint256_t & | operator-- () |
| operator – (pre-decrement)
|
|
uint256_t | operator-- (int p) |
| operator – (post-decrement)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator-= (const T p) |
| operator -= for uint256_t and other integer types.
|
|
uint256_t & | operator-= (const uint256_t &p) |
| operator -= for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator* (const T &p) |
| operator * for uint256_t and other integer types.
|
|
uint256_t | operator* (const uint256_t &p) |
| operator * for uint256_t and other integer types.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator*= (const T &p) |
| operator *= for uint256_t and other integer types.
|
|
uint256_t & | operator*= (const uint256_t &p) |
| operator *= for uint256_t and other integer types.
|
|
std::pair< uint256_t, uint256_t > | divide (const uint256_t &p) |
| divide function for uint256_t and other integer types.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator/ (const T &p) |
| operator / for uint256_t and other integer types.
|
|
uint256_t | operator/ (const uint256_t &p) |
| operator / for uint256_t and other integer types.
|
|
uint256_t & | operator/= (const uint256_t &p) |
| operator /= for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator/= (const T &p) |
| operator /= for uint256_t and other integer types.
|
|
uint256_t | operator% (const uint256_t &p) |
| operator % for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator% (const T &p) |
| operator % for uint256_t and other integer types.
|
|
uint256_t & | operator%= (const uint256_t &p) |
| operator %= for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator%= (const T &p) |
| operator %= for uint256_t
|
|
bool | operator< (const uint256_t &other) |
| operator < for uint256_t
|
|
bool | operator<= (const uint256_t &other) |
| operator <= for uint256_t
|
|
bool | operator> (const uint256_t &other) |
| operator > for uint256_t
|
|
bool | operator>= (const uint256_t &other) |
| operator >= for uint256_t
|
|
bool | operator== (const uint256_t &other) |
| operator == for uint256_t
|
|
bool | operator!= (const uint256_t &other) |
| operator != for uint256_t
|
|
bool | operator! () |
| operator ! for uint256_t
|
|
bool | operator&& (const uint256_t &b) |
| operator && for uint256_t
|
|
bool | operator|| (const uint256_t &b) |
| operator || for uint256_t
|
|
bool | operator() () |
| operator () for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator< (const T &other) |
| operator < for other types
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator<= (const T &other) |
| operator <= for other types
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator> (const T &other) |
| operator > for other types
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator>= (const T &other) |
| operator >= for other types
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator== (const T &other) |
| operator == for other types
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator!= (const T &other) |
| operator != for other types
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator&& (const T &b) |
| operator && for other types
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
bool | operator|| (const T &b) |
| operator || for other types
|
|
uint256_t | operator~ () |
| operator ~ for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator<< (const T &p) |
| operator << for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator<<= (const T &p) |
| operator <<= for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator>> (const T &p) |
| operator >> for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator>>= (const T &p) |
| operator >>= for uint256_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator& (const T &p) |
| operator & for other types (bitwise operator)
|
|
uint256_t | operator& (const uint256_t &p) |
| operator & for uint256_t (bitwise operator)
|
|
uint256_t & | operator&= (const uint256_t &p) |
| operator &= for uint256_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator&= (const T p) |
| operator &= for other types (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator| (const T &p) |
| operator | for other types (bitwise operator)
|
|
uint256_t | operator| (const uint256_t &p) |
| operator | for uint256_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator|= (const T &p) |
| operator |= for other types (bitwise operator)
|
|
uint256_t & | operator|= (const uint256_t &p) |
| operator |= for uint256_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t | operator^ (const T &p) |
| operator ^ for other types (bitwise operator)
|
|
uint256_t | operator^ (const uint256_t &p) |
| operator ^ for uint256_t (bitwise operator)
|
|
uint256_t & | operator^= (const uint256_t &p) |
| operator ^= for uint256_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint256_t & | operator^= (const T &p) |
| operator ^= for other types (bitwise operator)
|
|
class for 256-bit unsigned integer