class TBigInteger

numeric type for arbitrary large (non-negative) integer numbers. More...

Definition#include <F2_bignumber.h>
List of all Methods
Annotated List
Files
Globals
Hierarchy
Index

Public Types

Public Methods

Public Members


Detailed Description

TBigInteger numeric type for arbitrary large (non-negative) integer numbers

typedef TUnsigned32 TAtom

TAtom

typedef TUnsigned32 TBitLen

TBitLen

static const TAtom bitsPerAtom

bitsPerAtom

int nNumber

nNumber

TAtom* number

number

 TBigInteger ()

TBigInteger

 TBigInteger (TAtom n)

TBigInteger

 TBigInteger (const TBigInteger& n)

TBigInteger

 ~TBigInteger ()

~TBigInteger

void  operator= (const TBigInteger& copy)

operator=

void  resize (int nNumber_)

resize

void  extend (int nNumber_)

extend

void  shrink ()

shrink

void  set (TAtom n)

set

void  set (const TBigInteger& n)

set

int  isZero ()

isZero

[const]

int  compare (const TBigInteger& n)

compare

[const]

void  setBit (int iBit)

setBit

void  clearBit (int iBit)

clearBit

int  getBit (int iBit)

getBit

[const]

int  getHighestBit (int& iWord, int& iBit)

getHighestBit

[const]

int  getHighestBit ()

getHighestBit

[const]

int  getLowestBit (int& iWord, int& iBit)

getLowestBit

[const]

int  getLowestBit ()

getLowestBit

[const]

int  shiftLeft (unsigned int s)

shiftLeft

int  shiftRight (unsigned int s)

shiftRight

void  roundAtBit (int iBit, int roundFlag)

roundAtBit

void  add (const TBigInteger& n)

add

void  add (int n)

add

void  subtractSmallerNumber (const TBigInteger& n)

subtractSmallerNumber

int  subtract (const TBigInteger& n)

subtract

int  subtract (int n)

subtract

void  mult (const TBigInteger& n)

mult

void  mult (unsigned int n)

mult

TBigInteger  divide (const TBigInteger& n)

divide

TBigInteger  divide (unsigned int n)

divide

void  faculty (int n)

faculty

void  binCoeff (int n, int k)

binCoeff

void  pow (const TBigInteger& n, int e)

pow

double  toDouble ()

toDouble

[const]

int  signature (int modNumber)

signature

[const]

void  outputState ()

outputState

[const]

void  outputState (int binary)

outputState

[const]

friend ostream&  operator<< (ostream& os, const TBigInteger& n)

operator<<