Planeshift
|
#include <GmpInt.h>
Public Member Functions | |
void | abs () |
void | addProduct (const GmpInt &value1, const GmpInt &value2) |
void | addProduct (const GmpInt &value1, unsigned long value2) |
template<typename Mpz_t > | |
void | get_raw_mpfr_data (Mpz_t &dest_mpz_t) |
const char * | getAsString (int base=10) const |
GmpInt () | |
GmpInt (int value) | |
GmpInt (long value) | |
GmpInt (double value) | |
GmpInt (long double value) | |
GmpInt (unsigned long value) | |
GmpInt (const GmpInt &) | |
void | negate () |
bool | operator!= (const GmpInt &) const |
bool | operator!= (long) const |
GmpInt | operator% (const GmpInt &) const |
GmpInt | operator% (long) const |
GmpInt & | operator%= (const GmpInt &) |
GmpInt & | operator%= (long) |
GmpInt | operator* (const GmpInt &) const |
GmpInt | operator* (long) const |
GmpInt & | operator*= (const GmpInt &) |
GmpInt & | operator*= (long) |
GmpInt | operator+ (const GmpInt &) const |
GmpInt | operator+ (long) const |
GmpInt & | operator+= (const GmpInt &) |
GmpInt & | operator+= (long) |
GmpInt | operator- (const GmpInt &) const |
GmpInt | operator- (long) const |
GmpInt | operator- () const |
GmpInt & | operator-= (const GmpInt &) |
GmpInt & | operator-= (long) |
GmpInt | operator/ (long) const |
GmpInt | operator/ (const GmpInt &) const |
GmpInt & | operator/= (const GmpInt &) |
GmpInt & | operator/= (long) |
bool | operator< (const GmpInt &) const |
bool | operator< (long) const |
GmpInt | operator<< (unsigned long) const |
GmpInt & | operator<<= (unsigned long) |
bool | operator<= (long) const |
bool | operator<= (const GmpInt &) const |
GmpInt & | operator= (const GmpInt &) |
GmpInt & | operator= (signed long value) |
bool | operator== (long) const |
bool | operator== (const GmpInt &) const |
bool | operator> (long) const |
bool | operator> (const GmpInt &) const |
bool | operator>= (long) const |
bool | operator>= (const GmpInt &) const |
GmpInt | operator>> (unsigned long) const |
GmpInt & | operator>>= (unsigned long) |
void | parseValue (const char *value) |
void | parseValue (const char *value, char **endptr) |
void | subProduct (const GmpInt &value1, unsigned long value2) |
void | subProduct (const GmpInt &value1, const GmpInt &value2) |
long | toInt () const |
~GmpInt () | |
Static Public Member Functions | |
static GmpInt | abs (const GmpInt &) |
static unsigned long | getDefaultNumberOfBits () |
static GmpInt | parseString (const char *str, char **endptr) |
static void | setDefaultNumberOfBits (unsigned long) |
Friends | |
GmpInt | operator+ (long lhs, const GmpInt &rhs) |
GmpInt | operator- (long lhs, const GmpInt &rhs) |
GmpInt::GmpInt | ( | ) |
GmpInt::GmpInt | ( | long | value | ) |
GmpInt::GmpInt | ( | unsigned long | value | ) |
GmpInt::GmpInt | ( | int | value | ) |
GmpInt::GmpInt | ( | double | value | ) |
GmpInt::GmpInt | ( | long double | value | ) |
GmpInt::GmpInt | ( | const GmpInt & | ) |
GmpInt::~GmpInt | ( | ) |
void GmpInt::abs | ( | ) |
void GmpInt::get_raw_mpfr_data | ( | Mpz_t & | dest_mpz_t | ) |
const char* GmpInt::getAsString | ( | int | base = 10 | ) | const |
static unsigned long GmpInt::getDefaultNumberOfBits | ( | ) | [static] |
void GmpInt::negate | ( | ) |
bool GmpInt::operator!= | ( | const GmpInt & | ) | const |
bool GmpInt::operator!= | ( | long | ) | const |
GmpInt GmpInt::operator% | ( | long | ) | const |
GmpInt& GmpInt::operator%= | ( | long | ) |
GmpInt GmpInt::operator* | ( | long | ) | const |
GmpInt& GmpInt::operator*= | ( | long | ) |
GmpInt GmpInt::operator+ | ( | long | ) | const |
GmpInt& GmpInt::operator+= | ( | long | ) |
GmpInt GmpInt::operator- | ( | ) | const |
GmpInt GmpInt::operator- | ( | long | ) | const |
GmpInt& GmpInt::operator-= | ( | long | ) |
GmpInt GmpInt::operator/ | ( | long | ) | const |
GmpInt& GmpInt::operator/= | ( | long | ) |
bool GmpInt::operator< | ( | const GmpInt & | ) | const |
bool GmpInt::operator< | ( | long | ) | const |
bool GmpInt::operator<= | ( | long | ) | const |
bool GmpInt::operator<= | ( | const GmpInt & | ) | const |
GmpInt& GmpInt::operator= | ( | signed long | value | ) |
bool GmpInt::operator== | ( | const GmpInt & | ) | const |
bool GmpInt::operator== | ( | long | ) | const |
bool GmpInt::operator> | ( | long | ) | const |
bool GmpInt::operator> | ( | const GmpInt & | ) | const |
bool GmpInt::operator>= | ( | const GmpInt & | ) | const |
bool GmpInt::operator>= | ( | long | ) | const |
static GmpInt GmpInt::parseString | ( | const char * | str, |
char ** | endptr | ||
) | [static] |
void GmpInt::parseValue | ( | const char * | value, |
char ** | endptr | ||
) |
void GmpInt::parseValue | ( | const char * | value | ) |
static void GmpInt::setDefaultNumberOfBits | ( | unsigned | long | ) | [static] |
long GmpInt::toInt | ( | ) | const |