bes Updated for version 3.21.1
The Backend Server (BES) is the lower two tiers of the Hyrax data server
internal::BigInteger Class Reference
Collaboration diagram for internal::BigInteger:
Collaboration graph

Public Types

typedef uint64_t Type
 

Public Member Functions

 BigInteger (const BigInteger &rhs)
 
 BigInteger (const char *decimals, size_t length)
 
 BigInteger (uint64_t u)
 
int Compare (const BigInteger &rhs) const
 
bool Difference (const BigInteger &rhs, BigInteger *out) const
 
size_t GetCount () const
 
Type GetDigit (size_t index) const
 
bool IsZero () const
 
BigIntegerMultiplyPow5 (unsigned exp)
 
BigIntegeroperator*= (uint32_t u)
 
BigIntegeroperator*= (uint64_t u)
 
BigIntegeroperator+= (uint64_t u)
 
BigIntegeroperator<<= (size_t shift)
 
BigIntegeroperator= (const BigInteger &rhs)
 
BigIntegeroperator= (uint64_t u)
 
bool operator== (const BigInteger &rhs) const
 
bool operator== (const Type rhs) const
 

Detailed Description

Definition at line 28 of file biginteger.h.

Member Typedef Documentation

◆ Type

typedef uint64_t internal::BigInteger::Type

Definition at line 30 of file biginteger.h.

Constructor & Destructor Documentation

◆ BigInteger() [1/3]

internal::BigInteger::BigInteger ( const BigInteger & rhs)
inline

Definition at line 32 of file biginteger.h.

◆ BigInteger() [2/3]

internal::BigInteger::BigInteger ( uint64_t u)
inlineexplicit

Definition at line 36 of file biginteger.h.

◆ BigInteger() [3/3]

internal::BigInteger::BigInteger ( const char * decimals,
size_t length )
inline

Definition at line 40 of file biginteger.h.

Member Function Documentation

◆ Compare()

int internal::BigInteger::Compare ( const BigInteger & rhs) const
inline

Definition at line 208 of file biginteger.h.

◆ Difference()

bool internal::BigInteger::Difference ( const BigInteger & rhs,
BigInteger * out ) const
inline

Definition at line 186 of file biginteger.h.

◆ GetCount()

size_t internal::BigInteger::GetCount ( ) const
inline

Definition at line 219 of file biginteger.h.

◆ GetDigit()

Type internal::BigInteger::GetDigit ( size_t index) const
inline

Definition at line 220 of file biginteger.h.

◆ IsZero()

bool internal::BigInteger::IsZero ( ) const
inline

Definition at line 221 of file biginteger.h.

◆ MultiplyPow5()

BigInteger & internal::BigInteger::MultiplyPow5 ( unsigned exp)
inline

Definition at line 162 of file biginteger.h.

◆ operator*=() [1/2]

BigInteger & internal::BigInteger::operator*= ( uint32_t u)
inline

Definition at line 105 of file biginteger.h.

◆ operator*=() [2/2]

BigInteger & internal::BigInteger::operator*= ( uint64_t u)
inline

Definition at line 87 of file biginteger.h.

◆ operator+=()

BigInteger & internal::BigInteger::operator+= ( uint64_t u)
inline

Definition at line 70 of file biginteger.h.

◆ operator<<=()

BigInteger & internal::BigInteger::operator<<= ( size_t shift)
inline

Definition at line 128 of file biginteger.h.

◆ operator=() [1/2]

BigInteger & internal::BigInteger::operator= ( const BigInteger & rhs)
inline

Definition at line 55 of file biginteger.h.

◆ operator=() [2/2]

BigInteger & internal::BigInteger::operator= ( uint64_t u)
inline

Definition at line 64 of file biginteger.h.

◆ operator==() [1/2]

bool internal::BigInteger::operator== ( const BigInteger & rhs) const
inline

Definition at line 154 of file biginteger.h.

◆ operator==() [2/2]

bool internal::BigInteger::operator== ( const Type rhs) const
inline

Definition at line 158 of file biginteger.h.


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