BigInteger Class Reference

BigInteger Class Reference#

Composable Kernel: internal::BigInteger Class Reference
internal::BigInteger Class Reference

#include <biginteger.h>

Public Types

typedef uint64_t Type

Public Member Functions

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

Member Typedef Documentation

◆ Type

Constructor & Destructor Documentation

◆ BigInteger() [1/3]

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

◆ BigInteger() [2/3]

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

◆ BigInteger() [3/3]

template<typename Ch>
internal::BigInteger::BigInteger ( const Ch * decimals,
size_t length )
inline

Member Function Documentation

◆ Compare()

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

◆ Difference()

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

◆ GetCount()

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

◆ GetDigit()

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

◆ IsZero()

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

◆ MultiplyPow5()

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

◆ operator*=() [1/2]

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

◆ operator*=() [2/2]

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

◆ operator+=()

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

◆ operator<<=()

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

◆ operator=() [1/2]

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

◆ operator=() [2/2]

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

◆ operator==() [1/2]

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

◆ operator==() [2/2]

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

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