SeComLib
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Macros Pages
Classes | Namespaces | Functions
big_integer_base.h File Reference

Definition of class BigIntegerBase. More...

#include <iostream>
#include <string>
#include <stdexcept>
#include "big_integer_base.hpp"

Go to the source code of this file.

Classes

class  SeComLib::Core::BigIntegerBase< T_Impl >
 Template class which adds syntactic sugar to big integer operations. More...
 

Namespaces

 SeComLib
 The enclosing namespace.
 
 SeComLib::Core
 Contains the core library.
 

Functions

template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator+ (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long addition binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator+ (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long addition binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator+ (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int addition binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator+ (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int addition binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator- (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long subtraction binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator- (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long subtraction binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator- (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int subtraction binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator- (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int subtraction binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator* (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long multiplication binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator* (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long multiplication binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator* (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int multiplication binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator* (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int multiplication binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator/ (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long division binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator/ (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long division binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator/ (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int division binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator/ (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int division binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator% (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long modulus binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator% (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long modulus binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator% (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int modulus binary operator More...
 
template<typename T_Impl >
BigIntegerBase< T_Impl > SeComLib::Core::operator% (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int modulus binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator== (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long equality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator== (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long equality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator== (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int equality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator== (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int equality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator!= (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long inequality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator!= (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long inequality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator!= (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int inequality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator!= (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int inequality binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator< (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long less than binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator< (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long less than binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator< (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int less than binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator< (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int less than binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator<= (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long less than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator<= (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long less than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator<= (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int less than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator<= (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int less than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator>= (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long greater than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator>= (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long greater than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator>= (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int greater than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator>= (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int greater than or equal binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator> (const long lhs, const BigIntegerBase< T_Impl > &rhs)
 long greater than binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator> (const unsigned long lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned long greater than binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator> (const int lhs, const BigIntegerBase< T_Impl > &rhs)
 int greater than binary operator More...
 
template<typename T_Impl >
bool SeComLib::Core::operator> (const unsigned int lhs, const BigIntegerBase< T_Impl > &rhs)
 unsigned int greater than binary operator More...
 

Detailed Description

Definition of class BigIntegerBase.

Author
Mihai Todor (todor.nosp@m.miha.nosp@m.i@gma.nosp@m.il.c.nosp@m.om)

Definition in file big_integer_base.h.