QtBigInt
Loading...
Searching...
No Matches
BigInt Class Reference

The BigInt class - c++ minigmp wrapper. More...

#include <bigint.h>

Public Member Functions

 BigInt ()
 
 BigInt (const BigInt &val, int bitCount=-1)
 
 BigInt (const std::string &imput, int base=10)
 
 BigInt (intMpz val)
 
 BigInt (char item, unsigned int size, int base)
 
std::string getString (int base=10) const
 
 ~BigInt ()
 
BigIntpowm (const BigInt &pow, const BigInt &mod)
 
BigIntpow (uIntMpz pow)
 
BigIntlog (int base)
 
int sizeBits () const
 sizeBits More...
 
int sizeBytes () const
 
int longBits () const
 longBits More...
 
int longBytes () const
 
int sizeType () const
 
bool isPrime (bool absalut=false) const
 
BigIntgcd (const BigInt &a, const BigInt &b)
 
void fromHex (const std::string &hex)
 
BigInttoNegative ()
 
BigIntoperator= (const BigInt &val)
 
BigIntoperator= (const std::string &imput)
 
BigIntoperator= (intMpz val)
 
BigIntoperator-- ()
 
BigIntoperator++ ()
 
BigInt operator-- (int)
 
BigInt operator++ (int)
 

Static Public Member Functions

static BigInt powm (BigInt val, const BigInt &pow, const BigInt &mod)
 
static BigInt bigPow10 (unsigned short pow)
 bigPow10 More...
 

Friends

BigInt MINIGMPSHARED_EXPORT operator+ (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator+ (BigInt left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator+ (BigInt left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORT operator+ (intMpz left, BigInt right)
 
BigInt MINIGMPSHARED_EXPORT operator+ (const std::string &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator+= (BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator+= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator+= (BigInt &left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator- (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator- (BigInt left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORT operator- (BigInt left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator- (intMpz right, BigInt left)
 
BigInt MINIGMPSHARED_EXPORT operator- (const std::string &right, const BigInt &left)
 
BigInt MINIGMPSHARED_EXPORT operator- (BigInt val)
 
BigInt MINIGMPSHARED_EXPORToperator-= (BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator-= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator-= (BigInt &left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator/ (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator/ (BigInt left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator/ (BigInt left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORT operator/ (intMpz left, BigInt right)
 
BigInt MINIGMPSHARED_EXPORT operator/ (const std::string &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator/= (BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator/= (BigInt &left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORToperator/= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator* (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator* (BigInt left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator* (BigInt left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORT operator* (intMpz left, BigInt right)
 
BigInt MINIGMPSHARED_EXPORToperator*= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator*= (BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator*= (BigInt &left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator% (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator% (BigInt left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORT operator% (BigInt left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORT operator% (intMpz left, BigInt right)
 
BigInt MINIGMPSHARED_EXPORT operator% (const std::string &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator%= (BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator%= (BigInt &left, const std::string &right)
 
BigInt MINIGMPSHARED_EXPORToperator%= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator<< (BigInt left, int right)
 
BigInt MINIGMPSHARED_EXPORT operator>> (BigInt left, int right)
 
BigInt MINIGMPSHARED_EXPORToperator<<= (BigInt &left, int right)
 
BigInt MINIGMPSHARED_EXPORToperator>>= (BigInt &left, int right)
 
bool MINIGMPSHARED_EXPORT operator== (const BigInt &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator== (const BigInt &left, intMpz right)
 
bool MINIGMPSHARED_EXPORT operator== (const BigInt &left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator== (const std::string &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator== (const BigInt &left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator== (intMpz left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator!= (const BigInt &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator!= (const BigInt &left, intMpz right)
 
bool MINIGMPSHARED_EXPORT operator!= (const BigInt &left, const std::string &str)
 
bool MINIGMPSHARED_EXPORT operator!= (const std::string &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator!= (const BigInt &left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator!= (intMpz left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator< (const BigInt &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator< (const BigInt &left, intMpz right)
 
bool MINIGMPSHARED_EXPORT operator< (const BigInt &left, const std::string &str)
 
bool MINIGMPSHARED_EXPORT operator< (const std::string &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator< (const BigInt &left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator< (intMpz left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator> (const BigInt &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator> (const BigInt &left, intMpz right)
 
bool MINIGMPSHARED_EXPORT operator> (const BigInt &left, const std::string &str)
 
bool MINIGMPSHARED_EXPORT operator> (const std::string &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator> (const BigInt &left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator> (intMpz left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator<= (const BigInt &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator<= (const BigInt &left, intMpz right)
 
bool MINIGMPSHARED_EXPORT operator<= (const BigInt &left, const std::string &str)
 
bool MINIGMPSHARED_EXPORT operator<= (const std::string &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator<= (const BigInt &left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator<= (intMpz left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator>= (const BigInt &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator>= (const BigInt &left, intMpz right)
 
bool MINIGMPSHARED_EXPORT operator>= (const BigInt &left, const std::string &str)
 
bool MINIGMPSHARED_EXPORT operator>= (const std::string &left, const BigInt &right)
 
bool MINIGMPSHARED_EXPORT operator>= (const BigInt &left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator>= (intMpz left, const std::string &right)
 
bool MINIGMPSHARED_EXPORT operator! (const BigInt &val)
 
BigInt MINIGMPSHARED_EXPORT operator~ (BigInt val)
 
BigInt MINIGMPSHARED_EXPORT operator| (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator| (const BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator|= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator|= (BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORT operator& (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator& (const BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator&= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator&= (BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORT operator^ (BigInt left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORT operator^ (const BigInt &left, intMpz right)
 
BigInt MINIGMPSHARED_EXPORToperator^= (BigInt &left, const BigInt &right)
 
BigInt MINIGMPSHARED_EXPORToperator^= (BigInt &left, intMpz right)
 

Detailed Description

The BigInt class - c++ minigmp wrapper.

Definition at line 20 of file bigint.h.

Collaboration diagram for BigInt:
Collaboration graph

Constructor & Destructor Documentation

◆ BigInt() [1/5]

BigInt::BigInt ( )

Definition at line 14 of file bigint.cpp.

Here is the call graph for this function:

◆ BigInt() [2/5]

BigInt::BigInt ( const BigInt val,
int  bitCount = -1 
)

Definition at line 18 of file bigint.cpp.

Here is the call graph for this function:

◆ BigInt() [3/5]

BigInt::BigInt ( const std::string &  imput,
int  base = 10 
)

Definition at line 29 of file bigint.cpp.

Here is the call graph for this function:

◆ BigInt() [4/5]

BigInt::BigInt ( intMpz  val)

Definition at line 34 of file bigint.cpp.

Here is the call graph for this function:

◆ BigInt() [5/5]

BigInt::BigInt ( char  item,
unsigned int  size,
int  base = 2 
)

Definition at line 39 of file bigint.cpp.

◆ ~BigInt()

BigInt::~BigInt ( )

Definition at line 48 of file bigint.cpp.

Here is the call graph for this function:

Member Function Documentation

◆ bigPow10()

BigInt BigInt::bigPow10 ( unsigned short  pow)
static

bigPow10

Parameters
pow
Returns
number 10 ^ pow

Definition at line 103 of file bigint.cpp.

Here is the call graph for this function:

◆ fromHex()

void BigInt::fromHex ( const std::string &  hex)

Definition at line 99 of file bigint.cpp.

Here is the call graph for this function:

◆ gcd()

BigInt & BigInt::gcd ( const BigInt a,
const BigInt b 
)

Definition at line 93 of file bigint.cpp.

Here is the call graph for this function:

◆ getString()

std::string BigInt::getString ( int  base = 10) const

Definition at line 43 of file bigint.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isPrime()

bool BigInt::isPrime ( bool  absalut = false) const

Definition at line 89 of file bigint.cpp.

Here is the call graph for this function:

◆ log()

BigInt & BigInt::log ( int  base)

◆ longBits()

int BigInt::longBits ( ) const

longBits

Returns
current length in Bits of number

Definition at line 74 of file bigint.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ longBytes()

int BigInt::longBytes ( ) const

Definition at line 78 of file bigint.cpp.

Here is the call graph for this function:

◆ operator++() [1/2]

BigInt & BigInt::operator++ ( )

Definition at line 359 of file bigint.cpp.

◆ operator++() [2/2]

BigInt BigInt::operator++ ( int  )

Definition at line 370 of file bigint.cpp.

◆ operator--() [1/2]

BigInt & BigInt::operator-- ( )

Definition at line 354 of file bigint.cpp.

◆ operator--() [2/2]

BigInt BigInt::operator-- ( int  )

Definition at line 364 of file bigint.cpp.

◆ operator=() [1/3]

BigInt & BigInt::operator= ( const BigInt val)

Definition at line 112 of file bigint.cpp.

Here is the call graph for this function:

◆ operator=() [2/3]

BigInt & BigInt::operator= ( const std::string &  imput)

Definition at line 117 of file bigint.cpp.

Here is the call graph for this function:

◆ operator=() [3/3]

BigInt & BigInt::operator= ( intMpz  val)

Definition at line 122 of file bigint.cpp.

Here is the call graph for this function:

◆ pow()

BigInt & BigInt::pow ( uIntMpz  pow)

Definition at line 61 of file bigint.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ powm() [1/2]

BigInt BigInt::powm ( BigInt  val,
const BigInt pow,
const BigInt mod 
)
static

Definition at line 57 of file bigint.cpp.

Here is the call graph for this function:

◆ powm() [2/2]

BigInt & BigInt::powm ( const BigInt pow,
const BigInt mod 
)

Definition at line 52 of file bigint.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sizeBits()

int BigInt::sizeBits ( ) const

sizeBits

Returns
size of bits in memory

Definition at line 66 of file bigint.cpp.

Here is the call graph for this function:

◆ sizeBytes()

int BigInt::sizeBytes ( ) const

Definition at line 70 of file bigint.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sizeType()

int BigInt::sizeType ( ) const

Definition at line 83 of file bigint.cpp.

◆ toNegative()

BigInt & BigInt::toNegative ( )

Definition at line 107 of file bigint.cpp.

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator!

bool MINIGMPSHARED_EXPORT operator! ( const BigInt val)
friend

Definition at line 490 of file bigint.cpp.

◆ operator!= [1/6]

bool MINIGMPSHARED_EXPORT operator!= ( const BigInt left,
const BigInt right 
)
friend

Definition at line 514 of file bigint.cpp.

◆ operator!= [2/6]

bool MINIGMPSHARED_EXPORT operator!= ( const BigInt left,
const std::string &  right 
)
friend

Definition at line 522 of file bigint.cpp.

◆ operator!= [3/6]

bool MINIGMPSHARED_EXPORT operator!= ( const BigInt left,
const std::string &  str 
)
friend

Definition at line 522 of file bigint.cpp.

◆ operator!= [4/6]

bool MINIGMPSHARED_EXPORT operator!= ( const BigInt left,
intMpz  right 
)
friend

Definition at line 518 of file bigint.cpp.

◆ operator!= [5/6]

bool MINIGMPSHARED_EXPORT operator!= ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 530 of file bigint.cpp.

◆ operator!= [6/6]

bool MINIGMPSHARED_EXPORT operator!= ( intMpz  left,
const std::string &  right 
)
friend

◆ operator% [1/5]

BigInt MINIGMPSHARED_EXPORT operator% ( BigInt  left,
const BigInt right 
)
friend

Definition at line 317 of file bigint.cpp.

◆ operator% [2/5]

BigInt MINIGMPSHARED_EXPORT operator% ( BigInt  left,
const std::string &  right 
)
friend

Definition at line 331 of file bigint.cpp.

◆ operator% [3/5]

BigInt MINIGMPSHARED_EXPORT operator% ( BigInt  left,
intMpz  right 
)
friend

Definition at line 322 of file bigint.cpp.

◆ operator% [4/5]

BigInt MINIGMPSHARED_EXPORT operator% ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 335 of file bigint.cpp.

◆ operator% [5/5]

BigInt MINIGMPSHARED_EXPORT operator% ( intMpz  left,
BigInt  right 
)
friend

Definition at line 327 of file bigint.cpp.

◆ operator%= [1/3]

BigInt MINIGMPSHARED_EXPORT & operator%= ( BigInt left,
const BigInt right 
)
friend

Definition at line 339 of file bigint.cpp.

◆ operator%= [2/3]

BigInt MINIGMPSHARED_EXPORT & operator%= ( BigInt left,
const std::string &  right 
)
friend

Definition at line 349 of file bigint.cpp.

◆ operator%= [3/3]

BigInt MINIGMPSHARED_EXPORT & operator%= ( BigInt left,
intMpz  right 
)
friend

Definition at line 344 of file bigint.cpp.

◆ operator& [1/2]

BigInt MINIGMPSHARED_EXPORT operator& ( BigInt  left,
const BigInt right 
)
friend

Definition at line 450 of file bigint.cpp.

◆ operator& [2/2]

BigInt MINIGMPSHARED_EXPORT operator& ( const BigInt left,
intMpz  right 
)
friend

Definition at line 455 of file bigint.cpp.

◆ operator&= [1/2]

BigInt MINIGMPSHARED_EXPORT & operator&= ( BigInt left,
const BigInt right 
)
friend

Definition at line 460 of file bigint.cpp.

◆ operator&= [2/2]

BigInt MINIGMPSHARED_EXPORT & operator&= ( BigInt left,
intMpz  right 
)
friend

Definition at line 465 of file bigint.cpp.

◆ operator* [1/4]

BigInt MINIGMPSHARED_EXPORT operator* ( BigInt  left,
const BigInt right 
)
friend

Definition at line 272 of file bigint.cpp.

◆ operator* [2/4]

BigInt MINIGMPSHARED_EXPORT operator* ( BigInt  left,
const std::string &  right 
)
friend

Definition at line 294 of file bigint.cpp.

◆ operator* [3/4]

BigInt MINIGMPSHARED_EXPORT operator* ( BigInt  left,
intMpz  right 
)
friend

Definition at line 277 of file bigint.cpp.

◆ operator* [4/4]

BigInt MINIGMPSHARED_EXPORT operator* ( intMpz  left,
BigInt  right 
)
friend

Definition at line 286 of file bigint.cpp.

◆ operator*= [1/3]

BigInt MINIGMPSHARED_EXPORT & operator*= ( BigInt left,
const BigInt right 
)
friend

Definition at line 298 of file bigint.cpp.

◆ operator*= [2/3]

BigInt MINIGMPSHARED_EXPORT & operator*= ( BigInt left,
const std::string &  right 
)
friend

Definition at line 303 of file bigint.cpp.

◆ operator*= [3/3]

BigInt MINIGMPSHARED_EXPORT & operator*= ( BigInt left,
intMpz  right 
)
friend

Definition at line 307 of file bigint.cpp.

◆ operator+ [1/5]

BigInt MINIGMPSHARED_EXPORT operator+ ( BigInt  left,
const BigInt right 
)
friend

Definition at line 142 of file bigint.cpp.

◆ operator+ [2/5]

BigInt MINIGMPSHARED_EXPORT operator+ ( BigInt  left,
const std::string &  right 
)
friend

Definition at line 147 of file bigint.cpp.

◆ operator+ [3/5]

BigInt MINIGMPSHARED_EXPORT operator+ ( BigInt  left,
intMpz  right 
)
friend

Definition at line 129 of file bigint.cpp.

◆ operator+ [4/5]

BigInt MINIGMPSHARED_EXPORT operator+ ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 151 of file bigint.cpp.

◆ operator+ [5/5]

BigInt MINIGMPSHARED_EXPORT operator+ ( intMpz  left,
BigInt  right 
)
friend

Definition at line 138 of file bigint.cpp.

◆ operator+= [1/3]

BigInt MINIGMPSHARED_EXPORT & operator+= ( BigInt left,
const BigInt right 
)
friend

Definition at line 163 of file bigint.cpp.

◆ operator+= [2/3]

BigInt MINIGMPSHARED_EXPORT & operator+= ( BigInt left,
const std::string &  right 
)
friend

Definition at line 168 of file bigint.cpp.

◆ operator+= [3/3]

BigInt MINIGMPSHARED_EXPORT & operator+= ( BigInt left,
intMpz  right 
)
friend

Definition at line 155 of file bigint.cpp.

◆ operator- [1/6]

BigInt MINIGMPSHARED_EXPORT operator- ( BigInt  left,
const BigInt right 
)
friend

Definition at line 174 of file bigint.cpp.

◆ operator- [2/6]

BigInt MINIGMPSHARED_EXPORT operator- ( BigInt  left,
const std::string &  right 
)
friend

Definition at line 200 of file bigint.cpp.

◆ operator- [3/6]

BigInt MINIGMPSHARED_EXPORT operator- ( BigInt  left,
intMpz  right 
)
friend

Definition at line 179 of file bigint.cpp.

◆ operator- [4/6]

BigInt MINIGMPSHARED_EXPORT operator- ( BigInt  val)
friend

Definition at line 195 of file bigint.cpp.

◆ operator- [5/6]

BigInt MINIGMPSHARED_EXPORT operator- ( const std::string &  right,
const BigInt left 
)
friend

Definition at line 204 of file bigint.cpp.

◆ operator- [6/6]

BigInt MINIGMPSHARED_EXPORT operator- ( intMpz  right,
BigInt  left 
)
friend

Definition at line 187 of file bigint.cpp.

◆ operator-= [1/3]

BigInt MINIGMPSHARED_EXPORT & operator-= ( BigInt left,
const BigInt right 
)
friend

Definition at line 208 of file bigint.cpp.

◆ operator-= [2/3]

BigInt MINIGMPSHARED_EXPORT & operator-= ( BigInt left,
const std::string &  right 
)
friend

Definition at line 213 of file bigint.cpp.

◆ operator-= [3/3]

BigInt MINIGMPSHARED_EXPORT & operator-= ( BigInt left,
intMpz  right 
)
friend

Definition at line 217 of file bigint.cpp.

◆ operator/ [1/5]

BigInt MINIGMPSHARED_EXPORT operator/ ( BigInt  left,
const BigInt right 
)
friend

Definition at line 227 of file bigint.cpp.

◆ operator/ [2/5]

BigInt MINIGMPSHARED_EXPORT operator/ ( BigInt  left,
const std::string &  right 
)
friend

Definition at line 241 of file bigint.cpp.

◆ operator/ [3/5]

BigInt MINIGMPSHARED_EXPORT operator/ ( BigInt  left,
intMpz  right 
)
friend

Definition at line 232 of file bigint.cpp.

◆ operator/ [4/5]

BigInt MINIGMPSHARED_EXPORT operator/ ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 249 of file bigint.cpp.

◆ operator/ [5/5]

BigInt MINIGMPSHARED_EXPORT operator/ ( intMpz  left,
BigInt  right 
)
friend

Definition at line 245 of file bigint.cpp.

◆ operator/= [1/3]

BigInt MINIGMPSHARED_EXPORT & operator/= ( BigInt left,
const BigInt right 
)
friend

Definition at line 253 of file bigint.cpp.

◆ operator/= [2/3]

BigInt MINIGMPSHARED_EXPORT & operator/= ( BigInt left,
const std::string &  right 
)
friend

Definition at line 258 of file bigint.cpp.

◆ operator/= [3/3]

BigInt MINIGMPSHARED_EXPORT & operator/= ( BigInt left,
intMpz  right 
)
friend

Definition at line 262 of file bigint.cpp.

◆ operator< [1/6]

bool MINIGMPSHARED_EXPORT operator< ( const BigInt left,
const BigInt right 
)
friend

Definition at line 534 of file bigint.cpp.

◆ operator< [2/6]

bool MINIGMPSHARED_EXPORT operator< ( const BigInt left,
const std::string &  right 
)
friend

Definition at line 542 of file bigint.cpp.

◆ operator< [3/6]

bool MINIGMPSHARED_EXPORT operator< ( const BigInt left,
const std::string &  str 
)
friend

Definition at line 542 of file bigint.cpp.

◆ operator< [4/6]

bool MINIGMPSHARED_EXPORT operator< ( const BigInt left,
intMpz  right 
)
friend

Definition at line 538 of file bigint.cpp.

◆ operator< [5/6]

bool MINIGMPSHARED_EXPORT operator< ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 550 of file bigint.cpp.

◆ operator< [6/6]

bool MINIGMPSHARED_EXPORT operator< ( intMpz  left,
const std::string &  right 
)
friend

◆ operator<<

BigInt MINIGMPSHARED_EXPORT operator<< ( BigInt  left,
int  right 
)
friend

Definition at line 390 of file bigint.cpp.

◆ operator<<=

BigInt MINIGMPSHARED_EXPORT & operator<<= ( BigInt left,
int  right 
)
friend

Definition at line 414 of file bigint.cpp.

◆ operator<= [1/6]

bool MINIGMPSHARED_EXPORT operator<= ( const BigInt left,
const BigInt right 
)
friend

Definition at line 574 of file bigint.cpp.

◆ operator<= [2/6]

bool MINIGMPSHARED_EXPORT operator<= ( const BigInt left,
const std::string &  right 
)
friend

Definition at line 582 of file bigint.cpp.

◆ operator<= [3/6]

bool MINIGMPSHARED_EXPORT operator<= ( const BigInt left,
const std::string &  str 
)
friend

Definition at line 582 of file bigint.cpp.

◆ operator<= [4/6]

bool MINIGMPSHARED_EXPORT operator<= ( const BigInt left,
intMpz  right 
)
friend

Definition at line 578 of file bigint.cpp.

◆ operator<= [5/6]

bool MINIGMPSHARED_EXPORT operator<= ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 590 of file bigint.cpp.

◆ operator<= [6/6]

bool MINIGMPSHARED_EXPORT operator<= ( intMpz  left,
const std::string &  right 
)
friend

◆ operator== [1/6]

bool MINIGMPSHARED_EXPORT operator== ( const BigInt left,
const BigInt right 
)
friend

Definition at line 494 of file bigint.cpp.

◆ operator== [2/6]

bool MINIGMPSHARED_EXPORT operator== ( const BigInt left,
const std::string &  right 
)
friend

Definition at line 502 of file bigint.cpp.

◆ operator== [3/6]

bool MINIGMPSHARED_EXPORT operator== ( const BigInt left,
const std::string &  right 
)
friend

Definition at line 502 of file bigint.cpp.

◆ operator== [4/6]

bool MINIGMPSHARED_EXPORT operator== ( const BigInt left,
intMpz  right 
)
friend

Definition at line 498 of file bigint.cpp.

◆ operator== [5/6]

bool MINIGMPSHARED_EXPORT operator== ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 510 of file bigint.cpp.

◆ operator== [6/6]

bool MINIGMPSHARED_EXPORT operator== ( intMpz  left,
const std::string &  right 
)
friend

◆ operator> [1/6]

bool MINIGMPSHARED_EXPORT operator> ( const BigInt left,
const BigInt right 
)
friend

Definition at line 554 of file bigint.cpp.

◆ operator> [2/6]

bool MINIGMPSHARED_EXPORT operator> ( const BigInt left,
const std::string &  right 
)
friend

Definition at line 562 of file bigint.cpp.

◆ operator> [3/6]

bool MINIGMPSHARED_EXPORT operator> ( const BigInt left,
const std::string &  str 
)
friend

Definition at line 562 of file bigint.cpp.

◆ operator> [4/6]

bool MINIGMPSHARED_EXPORT operator> ( const BigInt left,
intMpz  right 
)
friend

Definition at line 558 of file bigint.cpp.

◆ operator> [5/6]

bool MINIGMPSHARED_EXPORT operator> ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 570 of file bigint.cpp.

◆ operator> [6/6]

bool MINIGMPSHARED_EXPORT operator> ( intMpz  left,
const std::string &  right 
)
friend

◆ operator>= [1/6]

bool MINIGMPSHARED_EXPORT operator>= ( const BigInt left,
const BigInt right 
)
friend

Definition at line 594 of file bigint.cpp.

◆ operator>= [2/6]

bool MINIGMPSHARED_EXPORT operator>= ( const BigInt left,
const std::string &  right 
)
friend

Definition at line 602 of file bigint.cpp.

◆ operator>= [3/6]

bool MINIGMPSHARED_EXPORT operator>= ( const BigInt left,
const std::string &  str 
)
friend

Definition at line 602 of file bigint.cpp.

◆ operator>= [4/6]

bool MINIGMPSHARED_EXPORT operator>= ( const BigInt left,
intMpz  right 
)
friend

Definition at line 598 of file bigint.cpp.

◆ operator>= [5/6]

bool MINIGMPSHARED_EXPORT operator>= ( const std::string &  left,
const BigInt right 
)
friend

Definition at line 610 of file bigint.cpp.

◆ operator>= [6/6]

bool MINIGMPSHARED_EXPORT operator>= ( intMpz  left,
const std::string &  right 
)
friend

◆ operator>>

BigInt MINIGMPSHARED_EXPORT operator>> ( BigInt  left,
int  right 
)
friend

Definition at line 378 of file bigint.cpp.

◆ operator>>=

BigInt MINIGMPSHARED_EXPORT & operator>>= ( BigInt left,
int  right 
)
friend

Definition at line 402 of file bigint.cpp.

◆ operator^ [1/2]

BigInt MINIGMPSHARED_EXPORT operator^ ( BigInt  left,
const BigInt right 
)
friend

Definition at line 469 of file bigint.cpp.

◆ operator^ [2/2]

BigInt MINIGMPSHARED_EXPORT operator^ ( const BigInt left,
intMpz  right 
)
friend

Definition at line 474 of file bigint.cpp.

◆ operator^= [1/2]

BigInt MINIGMPSHARED_EXPORT & operator^= ( BigInt left,
const BigInt right 
)
friend

Definition at line 478 of file bigint.cpp.

◆ operator^= [2/2]

BigInt MINIGMPSHARED_EXPORT & operator^= ( BigInt left,
intMpz  right 
)
friend

Definition at line 483 of file bigint.cpp.

◆ operator| [1/2]

BigInt MINIGMPSHARED_EXPORT operator| ( BigInt  left,
const BigInt right 
)
friend

Definition at line 432 of file bigint.cpp.

◆ operator| [2/2]

BigInt MINIGMPSHARED_EXPORT operator| ( const BigInt left,
intMpz  right 
)
friend

Definition at line 437 of file bigint.cpp.

◆ operator|= [1/2]

BigInt MINIGMPSHARED_EXPORT & operator|= ( BigInt left,
const BigInt right 
)
friend

Definition at line 441 of file bigint.cpp.

◆ operator|= [2/2]

BigInt MINIGMPSHARED_EXPORT & operator|= ( BigInt left,
intMpz  right 
)
friend

Definition at line 446 of file bigint.cpp.

◆ operator~

BigInt MINIGMPSHARED_EXPORT operator~ ( BigInt  val)
friend

Definition at line 427 of file bigint.cpp.


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