Lines Matching defs:gdb_mpz
39 struct gdb_mpz
42 gdb_mpz () { mpz_init (m_val); }
44 explicit gdb_mpz (const mpz_t &from_val)
50 gdb_mpz (const gdb_mpz &from)
61 explicit gdb_mpz (T src)
67 explicit gdb_mpz (gdb_mpz &&from)
74 gdb_mpz &operator= (const gdb_mpz &from)
80 gdb_mpz &operator= (gdb_mpz &&other)
87 gdb_mpz &operator= (T src)
93 gdb_mpz &operator= (bool src)
107 static gdb_mpz pow (unsigned long base, unsigned long exp)
109 gdb_mpz result;
115 gdb_mpz pow (unsigned long exp) const
117 gdb_mpz result;
165 ~gdb_mpz () { mpz_clear (m_val); }
189 gdb_mpz &operator*= (long other)
195 gdb_mpz operator* (const gdb_mpz &other) const
197 gdb_mpz result;
202 gdb_mpz operator/ (const gdb_mpz &other) const
204 gdb_mpz result;
209 gdb_mpz operator% (const gdb_mpz &other) const
211 gdb_mpz result;
216 gdb_mpz &operator+= (unsigned long other)
222 gdb_mpz &operator+= (const gdb_mpz &other)
228 gdb_mpz operator+ (const gdb_mpz &other) const
230 gdb_mpz result;
235 gdb_mpz &operator-= (unsigned long other)
241 gdb_mpz &operator-= (const gdb_mpz &other)
247 gdb_mpz operator- (const gdb_mpz &other) const
249 gdb_mpz result;
254 gdb_mpz operator- () const
256 gdb_mpz result;
261 gdb_mpz &operator<<= (unsigned long nbits)
267 gdb_mpz operator<< (unsigned long nbits) const &
269 gdb_mpz result;
274 gdb_mpz operator<< (unsigned long nbits) &&
280 gdb_mpz operator>> (unsigned long nbits) const
282 gdb_mpz result;
287 gdb_mpz &operator>>= (unsigned long nbits)
293 gdb_mpz operator& (const gdb_mpz &other) const
295 gdb_mpz result;
300 gdb_mpz operator| (const gdb_mpz &other) const
302 gdb_mpz result;
307 gdb_mpz operator^ (const gdb_mpz &other) const
309 gdb_mpz result;
314 bool operator> (const gdb_mpz &other) const
319 bool operator>= (const gdb_mpz &other) const
324 bool operator< (const gdb_mpz &other) const
329 bool operator<= (const gdb_mpz &other) const
357 return *this == gdb_mpz (other);
360 bool operator== (const gdb_mpz &other) const
365 bool operator!= (const gdb_mpz &other) const
425 gdb_mpq (const gdb_mpz &num, const gdb_mpz &denom)
453 gdb_mpq &operator= (const gdb_mpz &from)
524 gdb_mpz get_rounded () const;
527 gdb_mpz as_integer () const
529 gdb_mpz result;
617 gdb_mpz::set (T src)
627 gdb_mpz neg_offset;
638 gdb_mpz::as_integer () const
654 gdb_mpz::as_integer_truncate () const