48 friend
bool operator == (const
uint128 &, const uint128 &) throw ();
49 friend
bool operator || (const uint128 &, const uint128 &) throw ();
50 friend
bool operator && (const uint128 &, const uint128 &) throw ();
54 inline uint128 () throw () : lo(0), hi(0) {};
57 inline uint128 (
const int & a)
throw () :
lo (a),
hi (0ull) {};
58 inline uint128 (
const unsigned int & a)
throw () :
lo (a),
hi (0ull) {};
59 inline uint128 (
const int64u & a)
throw () :
lo (a),
hi (0ull) {};
61 uint128 (
const float a)
throw ();
62 uint128 (
const double & a)
throw ();
63 uint128 (
const long double & a)
throw ();
65 uint128 (
const char * sz)
throw ();
72 uint128 (
const int64u & a,
const int64u & b)
throw ()
102 return *
this += (-b);
106 *
this = this->
div (b, dummy);
110 this->
div (b, *
this);
116 return (
unsigned int) this->
lo; };
118 return (int64u) this->
lo; };
119 const char *
toString (
unsigned int radix = 10)
const throw ();
120 float toFloat ()
const throw ();
128 bool bit (
unsigned int n)
const throw ();
129 void bit (
unsigned int n,
bool val)
throw ();
132 __attribute__ ((__aligned__ (16), __packed__))
int64u hi
Definition: int128u.h:43
bool operator!=(const int128 &a, const int128 &b)
Definition: int128s.h:184
int128 operator*(const int128 &a, const int128 &b)
Definition: int128s.h:159
int128 operator%(const int128 &a, const int128 &b)
Definition: int128s.h:163
uint128 operator-() const
uint128(const unsigned int &a)
Definition: int128u.h:58
friend bool operator&&(const uint128 &, const uint128 &)
int128 operator/(const int128 &a, const int128 &b)
Definition: int128s.h:161
const char * toString(unsigned int radix=10) const
uint128 & operator%=(const uint128 &b)
Definition: int128u.h:109
friend bool operator<(const uint128 &, const uint128 &)
bool operator>(const int128 &a, const int128 &b)
Definition: int128s.h:178
uint128 & operator-=(const uint128 &b)
Definition: int128u.h:101
Definition: BitStream.h:23
uint128 __uint128
Definition: int128u.h:176
uint128 int128u
Definition: int128u.h:183
bool operator<=(const int128 &a, const int128 &b)
Definition: int128s.h:180
int128 operator&(const int128 &a, const int128 &b)
Definition: int128s.h:171
uint128 div(const uint128 &, uint128 &) const
uint128(const int64u &a)
Definition: int128u.h:59
uint128 & operator^=(const uint128 &b)
int128 operator>>(const int128 &a, unsigned int n)
Definition: int128s.h:166
long double toLongDouble() const
const uint128 & operator+() const
Definition: int128u.h:98
int128 operator|(const int128 &a, const int128 &b)
Definition: int128s.h:173
uint128 & operator/=(const uint128 &b)
Definition: int128u.h:104
uint128()
Definition: int128u.h:54
int64u toUint64() const
Definition: int128u.h:117
uint128(const int &a)
Definition: int128u.h:57
unsigned int toUint() const
Definition: int128u.h:115
uint128 & operator*=(const uint128 &b)
uint128 & operator&=(const uint128 &b)
uint128 & operator+=(const uint128 &b)
uint128 & operator|=(const uint128 &b)
bool bit(unsigned int n) const
int128 operator^(const int128 &a, const int128 &b)
Definition: int128s.h:175
uint128(const uint128 &a)
Definition: int128u.h:55
int64u lo
Definition: int128u.h:42
uint128 operator~() const
uint128 & operator<<=(unsigned int n)
int128 operator<<(const int128 &a, unsigned int n)
Definition: int128s.h:168
bool operator>=(const int128 &a, const int128 &b)
Definition: int128s.h:182
uint128 & operator>>=(unsigned int n)
friend bool operator||(const uint128 &, const uint128 &)
friend bool operator==(const uint128 &, const uint128 &)