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