Planeshift
Public Member Functions | Static Public Member Functions | Friends

GmpInt Class Reference

#include <GmpInt.h>

List of all members.

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
GmpIntoperator%= (const GmpInt &)
GmpIntoperator%= (long)
GmpInt operator* (const GmpInt &) const
GmpInt operator* (long) const
GmpIntoperator*= (const GmpInt &)
GmpIntoperator*= (long)
GmpInt operator+ (const GmpInt &) const
GmpInt operator+ (long) const
GmpIntoperator+= (const GmpInt &)
GmpIntoperator+= (long)
GmpInt operator- (const GmpInt &) const
GmpInt operator- (long) const
GmpInt operator- () const
GmpIntoperator-= (const GmpInt &)
GmpIntoperator-= (long)
GmpInt operator/ (long) const
GmpInt operator/ (const GmpInt &) const
GmpIntoperator/= (const GmpInt &)
GmpIntoperator/= (long)
bool operator< (const GmpInt &) const
bool operator< (long) const
GmpInt operator<< (unsigned long) const
GmpIntoperator<<= (unsigned long)
bool operator<= (long) const
bool operator<= (const GmpInt &) const
GmpIntoperator= (const GmpInt &)
GmpIntoperator= (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
GmpIntoperator>>= (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)

Detailed Description

Definition at line 6 of file GmpInt.h.


Constructor & Destructor Documentation

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 ( )

Member Function Documentation

void GmpInt::abs ( )
static GmpInt GmpInt::abs ( const GmpInt ) [static]
void GmpInt::addProduct ( const GmpInt value1,
unsigned long  value2 
)
void GmpInt::addProduct ( const GmpInt value1,
const GmpInt value2 
)
template<typename Mpz_t >
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% ( const GmpInt ) const
GmpInt GmpInt::operator% ( long  ) const
GmpInt& GmpInt::operator%= ( const GmpInt )
GmpInt& GmpInt::operator%= ( long  )
GmpInt GmpInt::operator* ( long  ) const
GmpInt GmpInt::operator* ( const GmpInt ) const
GmpInt& GmpInt::operator*= ( const GmpInt )
GmpInt& GmpInt::operator*= ( long  )
GmpInt GmpInt::operator+ ( const GmpInt ) const
GmpInt GmpInt::operator+ ( long  ) const
GmpInt& GmpInt::operator+= ( const GmpInt )
GmpInt& GmpInt::operator+= ( long  )
GmpInt GmpInt::operator- ( ) const
GmpInt GmpInt::operator- ( const GmpInt ) const
GmpInt GmpInt::operator- ( long  ) const
GmpInt& GmpInt::operator-= ( const GmpInt )
GmpInt& GmpInt::operator-= ( long  )
GmpInt GmpInt::operator/ ( const GmpInt ) const
GmpInt GmpInt::operator/ ( long  ) const
GmpInt& GmpInt::operator/= ( const GmpInt )
GmpInt& GmpInt::operator/= ( long  )
bool GmpInt::operator< ( const GmpInt ) const
bool GmpInt::operator< ( long  ) const
GmpInt GmpInt::operator<< ( unsigned  long) const
GmpInt& GmpInt::operator<<= ( unsigned  long)
bool GmpInt::operator<= ( long  ) const
bool GmpInt::operator<= ( const GmpInt ) const
GmpInt& GmpInt::operator= ( const GmpInt )
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
GmpInt GmpInt::operator>> ( unsigned  long) const
GmpInt& GmpInt::operator>>= ( unsigned  long)
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]
void GmpInt::subProduct ( const GmpInt value1,
const GmpInt value2 
)
void GmpInt::subProduct ( const GmpInt value1,
unsigned long  value2 
)
long GmpInt::toInt ( ) const

Friends And Related Function Documentation

GmpInt operator+ ( long  lhs,
const GmpInt rhs 
) [friend]
GmpInt operator- ( long  lhs,
const GmpInt rhs 
) [friend]

The documentation for this class was generated from the following file: