class BigInt
BigInt - arbitrary precision integer via the gnu gmp library
More...
Definition
#include <
BigInt.hh
>
Inherits
Data
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index
Public Members
BigInt
(long value = 0)
BigInt
(const Slot &value)
BigInt
(const char *value)
BigInt
(const mpz_t &value)
BigInt
(const mpf_t &value)
virtual
~BigInt
()
Integer *
asInteger
()
mpz_t const &
asGMP
() const
int
asint
()
virtual Data *
clone
(void * = 0) const
virtual void
check
(int=0) const
virtual bool
truth
() const
virtual Slot
toconstruct
() const
virtual ostream &
dump
(ostream& out) const
static Slot
construct
(Slot &arg)
virtual int
order
(const Slot &arg) const
virtual bool
equal
(const Slot &arg) const
virtual Slot
positive
()
virtual Slot
negative
()
virtual Slot
add
(const Slot &arg)
virtual Slot
subtract
(const Slot &arg)
virtual Slot
multiply
(const Slot &arg)
virtual Slot
divide
(const Slot &arg)
virtual Slot
modulo
(const Slot &arg)
virtual Slot
invert
()
virtual Slot
and
(const Slot &arg)
virtual Slot
xor
(const Slot &arg)
virtual Slot
or
(const Slot &arg)
virtual Slot
lshift
(const Slot &arg)
virtual Slot
rshift
(const Slot &arg)
static BigInt *
random
()
Slot
hamming
(const Slot &arg)
static void *
GmpAlloc
(size_t alloc_size)
static void *
GmpReAlloc
(void *ptr, size_t old_size, size_t new_size)
static void
GmpDeAlloc
(void *ptr, size_t size)
Protected Members
mpz_t
_value
int
base
Detailed Description
BigInt - arbitrary precision integer via the gnu gmp library
Generated by: colin@sharedtech.dhis.org on Sat Nov 6 11:59:24 199.