|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
| uint128_t (T low) |
| Parameterized constructor.
|
|
| uint128_t (const std::string &str) |
| Parameterized constructor.
|
|
| uint128_t (const uint64_t high, const uint64_t low) |
| Parameterized constructor.
|
|
| uint128_t (const uint128_t &num)=default |
| Copy constructor.
|
|
| uint128_t (uint128_t &&num) noexcept |
| Move constructor.
|
|
| ~uint128_t ()=default |
| Destructor for uint128_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 valu
|
|
uint64_t | lower () const |
| returns lower 64-bit integer part
|
|
uint64_t | upper () const |
| returns upper 64-bit integer part
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator= (const T &p) |
| operator = for other types
|
|
uint128_t & | operator= (const std::string &p) |
| operator = for type string
|
|
uint128_t & | operator= (const uint128_t &p)=default |
| operator = for uint128_t
|
|
uint128_t & | operator= (uint128_t &&p)=default |
| Move assignment operator.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator+ (const T p) |
| operator + for uint128_t and other integer types.
|
|
uint128_t | operator+ (const uint128_t &p) |
| operator + for uint128_t and other integer types.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator+= (const T p) |
| operator += for uint128_t and other integer types.
|
|
uint128_t & | operator+= (const uint128_t &p) |
| operator += for uint128_t
|
|
uint128_t & | operator++ () |
| pre-increment operator
|
|
uint128_t | operator++ (int) |
| post-increment operator
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator- (const T &p) |
| operator - for uint128_t and other integer types.
|
|
uint128_t | operator- (const uint128_t &p) |
| operator - for uint128_t
|
|
uint128_t | operator- () |
| operator - using twos complement
|
|
uint128_t & | operator-- () |
| operator – (pre-decrement)
|
|
uint128_t | operator-- (int p) |
| operator – (post-decrement)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator-= (const T &p) |
| operator -= for uint128_t and other integer types.
|
|
uint128_t & | operator-= (const uint128_t &p) |
| operator -= for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator* (const T p) |
| operator * for uint128_t and other integer types.
|
|
uint128_t | operator* (const uint128_t &p) |
| operator * for uint128_t and other integer types.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator*= (const T p) |
| operator *= for uint128_t and other integer types.
|
|
uint128_t & | operator*= (const uint128_t &p) |
| operator *= for uint128_t and other integer types.
|
|
std::pair< uint128_t, uint128_t > | divide (const uint128_t &p) |
| divide function for uint128_t and other integer types.
|
|
uint128_t | operator/ (const uint128_t &p) |
| operator / for uint128_t and other integer types.
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator/ (const T p) |
| operator / for uint128_t and other integer types.
|
|
uint128_t & | operator/= (const uint128_t &p) |
| operator /= for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator/= (const T p) |
| operator /= for uint128_t and other integer types.
|
|
uint128_t | operator% (const uint128_t &p) |
| operator % for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator% (const T &p) |
| operator % for uint128_t and other integer types.
|
|
uint128_t & | operator%= (const uint128_t &p) |
| operator %= for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator%= (const T &p) |
| operator %= for uint128_t
|
|
bool | operator< (const uint128_t &other) |
| operator < for uint128_t
|
|
bool | operator<= (const uint128_t &other) |
| operator <= for uint128_t
|
|
bool | operator> (const uint128_t &other) |
| operator > for uint128_t
|
|
bool | operator>= (const uint128_t &other) |
| operator >= for uint128_t
|
|
bool | operator== (const uint128_t &other) |
| operator == for uint128_t
|
|
bool | operator!= (const uint128_t &other) |
| operator != for uint128_t
|
|
bool | operator! () |
| operator ! for uint128_t
|
|
bool | operator&& (const uint128_t &b) |
| operator && for uint128_t
|
|
bool | operator|| (const uint128_t &b) |
| operator || for uint128_t
|
|
bool | operator() () |
| operator () for uint128_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
|
|
uint128_t | operator~ () |
| operator ~ for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator<< (const T p) |
| operator << for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator<<= (const T p) |
| operator <<= for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator>> (const T p) |
| operator >> for uint128_t
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator>>= (const T p) |
| operator >>= for uint128_t
|
|
uint128_t | operator& (const uint128_t &p) |
| operator & for uint128_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t | operator& (const T p) |
| operator & for other types (bitwise operator)
|
|
uint128_t & | operator&= (const uint128_t &p) |
| operator &= for uint128_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_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> |
uint128_t | operator| (const T p) |
| operator | for other types (bitwise operator)
|
|
uint128_t | operator| (const uint128_t &p) |
| operator | for uint128_t (bitwise operator)
|
|
uint128_t & | operator|= (const uint128_t &p) |
| operator |= for uint128_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_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> |
uint128_t | operator^ (const T p) |
| operator ^ for other types (bitwise operator)
|
|
uint128_t | operator^ (const uint128_t &p) |
| operator ^ for uint128_t (bitwise operator)
|
|
uint128_t & | operator^= (const uint128_t &p) |
| operator ^= for uint128_t (bitwise operator)
|
|
template<typename T , typename = typename std::enable_if< std::is_integral<T>::value, T>::type> |
uint128_t & | operator^= (const T &p) |
| operator ^= for other types (bitwise operator)
|
|
class for 128-bit unsigned integer