|
| | uint256_t () noexcept |
| |
| | uint256_t (int8_t value) noexcept |
| |
| | uint256_t (uint8_t value) noexcept |
| |
| | uint256_t (int16_t value) noexcept |
| |
| | uint256_t (uint16_t value) noexcept |
| |
| | uint256_t (int32_t value) noexcept |
| |
| | uint256_t (uint32_t value) noexcept |
| |
| | uint256_t (int64_t value) noexcept |
| |
| | uint256_t (uint64_t value) noexcept |
| |
| | uint256_t (uint128_t value) noexcept |
| |
| template<typename T > |
| | uint256_t (const T &value) noexcept |
| |
| template<typename TUpper , typename TLower > |
| | uint256_t (const TUpper &upper, const TLower &lower) noexcept |
| |
| template<typename TUpperUpper , typename TUpperLower , typename TLowerUpper , typename TLowerLower > |
| | uint256_t (const TUpperUpper &upper_upper, const TUpperLower &upper_lower, const TLowerUpper &lower_upper, const TLowerLower &lower_lower) noexcept |
| |
| | uint256_t (const uint256_t &) noexcept=default |
| |
| | uint256_t (uint256_t &&) noexcept=default |
| |
| | ~uint256_t () noexcept=default |
| |
| template<typename T > |
| uint256_t & | operator= (const T &value) noexcept |
| |
| uint256_t & | operator= (const uint256_t &) noexcept=default |
| |
| uint256_t & | operator= (uint256_t &&) noexcept=default |
| |
| uint256_t | operator+ () const noexcept |
| |
| uint256_t | operator- () const noexcept |
| |
| uint256_t & | operator++ () noexcept |
| |
| uint256_t | operator++ (int) noexcept |
| |
| uint256_t & | operator-- () noexcept |
| |
| uint256_t | operator-- (int) noexcept |
| |
| uint256_t & | operator+= (const uint256_t &value) noexcept |
| |
| uint256_t & | operator-= (const uint256_t &value) noexcept |
| |
| uint256_t & | operator*= (const uint256_t &value) noexcept |
| |
| uint256_t & | operator/= (const uint256_t &value) |
| |
| uint256_t & | operator%= (const uint256_t &value) |
| |
| template<typename T > |
| uint256_t & | operator+= (const T &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator-= (const T &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator*= (const T &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator/= (const T &value) |
| |
| template<typename T > |
| uint256_t & | operator%= (const T &value) |
| |
| uint256_t | operator~ () const noexcept |
| |
| uint256_t & | operator&= (const uint256_t &value) noexcept |
| |
| uint256_t & | operator|= (const uint256_t &value) noexcept |
| |
| uint256_t & | operator^= (const uint256_t &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator&= (const T &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator|= (const T &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator^= (const T &value) noexcept |
| |
| bool | operator! () const noexcept |
| |
| uint256_t & | operator<<= (const uint256_t &value) noexcept |
| |
| uint256_t & | operator>>= (const uint256_t &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator<<= (const T &value) noexcept |
| |
| template<typename T > |
| uint256_t & | operator>>= (const T &value) noexcept |
| |
| | operator bool () const noexcept |
| |
| | operator uint8_t () const noexcept |
| |
| | operator uint16_t () const noexcept |
| |
| | operator uint32_t () const noexcept |
| |
| | operator uint64_t () const noexcept |
| |
| | operator uint128_t () const noexcept |
| |
| uint128_t | upper () const noexcept |
| | Get the upper part of the 256-bit integer.
|
| |
| uint128_t | lower () const noexcept |
| | Get the lower part of the 256-bit integer.
|
| |
| size_t | bits () const noexcept |
| | Get the count of bits.
|
| |
| std::string | string (size_t base=10, size_t length=0) const |
| | Get string from the current 128-bit integer.
|
| |
| std::wstring | wstring (size_t base=10, size_t length=0) const |
| | Get wide string from the current 128-bit integer.
|
| |
| void | swap (uint256_t &value) noexcept |
| | Swap two instances.
|
| |
|
| uint128_t & | operator+= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint128_t & | operator-= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint128_t & | operator*= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint128_t & | operator/= (uint128_t &value1, const uint256_t &value2) |
| |
| uint128_t & | operator%= (uint128_t &value1, const uint256_t &value2) |
| |
| template<typename T > |
| T & | operator+= (T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator-= (T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator*= (T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator/= (T &value1, const uint256_t &value2) |
| |
| template<typename T > |
| T & | operator%= (T &value1, const uint256_t &value2) |
| |
| template<typename T > |
| uint256_t | operator+ (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator+ (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator+ (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator+ (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| uint256_t | operator+ (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator- (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator- (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator- (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator- (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| uint256_t | operator- (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator* (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator* (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator* (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator* (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| uint256_t | operator* (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator/ (const T &value1, const uint256_t &value2) |
| |
| template<typename T > |
| uint256_t | operator/ (const uint256_t &value1, const T &value2) |
| |
| uint256_t | operator/ (const uint128_t &value1, const uint256_t &value2) |
| |
| uint256_t | operator/ (const uint256_t &value1, const uint128_t &value2) |
| |
| uint256_t | operator/ (const uint256_t &value1, const uint256_t &value2) |
| |
| template<typename T > |
| uint256_t | operator% (const T &value1, const uint256_t &value2) |
| |
| template<typename T > |
| uint256_t | operator% (const uint256_t &value1, const T &value2) |
| |
| uint256_t | operator% (const uint128_t &value1, const uint256_t &value2) |
| |
| uint256_t | operator% (const uint256_t &value1, const uint128_t &value2) |
| |
| uint256_t | operator% (const uint256_t &value1, const uint256_t &value2) |
| |
| uint128_t & | operator&= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint128_t & | operator|= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint128_t & | operator^= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator&= (T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator|= (T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator^= (T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator& (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator& (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator& (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator& (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| uint256_t | operator& (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator| (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator| (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator| (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator| (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| uint256_t | operator| (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator^ (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator^ (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator^ (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator^ (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| uint256_t | operator^ (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator== (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator== (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator== (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator== (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator== (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator!= (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator!= (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator!= (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator!= (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator!= (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator< (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator< (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator< (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator< (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator< (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator> (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator> (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator> (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator> (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator> (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator<= (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator<= (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator<= (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator<= (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator<= (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator>= (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator>= (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator>= (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator>= (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator>= (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator&& (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator&& (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator&& (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator&& (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator&& (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator|| (const T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| bool | operator|| (const uint256_t &value1, const T &value2) noexcept |
| |
| bool | operator|| (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| bool | operator|| (const uint256_t &value1, const uint128_t &value2) noexcept |
| |
| bool | operator|| (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator<<= (T &value1, const uint256_t &value2) noexcept |
| |
| uint128_t & | operator<<= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint128_t & | operator>>= (uint128_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| T & | operator>>= (T &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator<< (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator<< (bool value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (int8_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (int16_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (int32_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (int64_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (uint8_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (uint16_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (uint32_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (uint64_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator<< (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| template<typename T > |
| uint256_t | operator>> (const uint256_t &value1, const T &value2) noexcept |
| |
| uint256_t | operator>> (bool value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (int8_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (int16_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (int32_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (int64_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (uint8_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (uint16_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (uint32_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (uint64_t value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (const uint128_t &value1, const uint256_t &value2) noexcept |
| |
| uint256_t | operator>> (const uint256_t &value1, const uint256_t &value2) noexcept |
| |
| std::istream & | operator>> (std::istream &is, uint256_t &value) |
| | Input instance from the given input stream.
|
| |
| std::wistream & | operator>> (std::wistream &is, uint256_t &value) |
| | Input instance from the given wide input stream.
|
| |
| std::ostream & | operator<< (std::ostream &os, const uint256_t &value) |
| | Output instance into the given output stream.
|
| |
| std::wostream & | operator<< (std::wostream &os, const uint256_t &value) |
| | Output instance into the given wide output stream.
|
| |
| void | swap (uint256_t &value1, uint256_t &value2) noexcept |
| |
Unsigned 256-bit integer type.
Represents unsigned 256-bit integer type and provides basic arithmetic operations.
- Examples
- common_uint256.cpp.
Definition at line 20 of file uint256.h.