Givaro
Namespaces | Functions | Variables
rmadd.h File Reference
+ This graph shows which files directly or indirectly include this file:

Namespaces

 RecInt
 NOTE : For this common file, either basic/reduc.h or mg/reduc.h has to be pre-included.
 

Functions

template<size_t K, size_t MG>
rmint< K, MG > & operator++ (rmint< K, MG > &)
 
template<size_t K, size_t MG>
rmint< K, MG > operator++ (rmint< K, MG > &, int)
 
template<size_t K, size_t MG>
rmint< K, MG > & operator+= (rmint< K, MG > &, const rmint< K, MG > &)
 
template<size_t K, size_t MG, typename T >
 __RECINT_IS_ARITH (T, rmint< K, MG > &) operator+ =(rmint<K, MG>&, const T&)
 
template<size_t K, size_t MG>
rmint< K, MG > operator+ (const rmint< K, MG > &, const rmint< K, MG > &)
 
template<size_t K, size_t MG, typename T >
 __RECINT_IS_ARITH (T, rmint< K, MG >) operator+(const rmint< K
 
template<size_t K, size_t MG, typename T >
MG const T & __RECINT_IS_ARITH (T, rmint< K, MG >) operator+(const T &
 
template<size_t K, size_t MG>
MG const T const rmint< K, MG > &rmint< K, MG > & add (rmint< K, MG > &, const rmint< K, MG > &, const rmint< K, MG > &)
 
template<size_t K, size_t MG>
rmint< K, MG > & add (rmint< K, MG > &, const rmint< K, MG > &)
 
template<size_t K, size_t MG, typename T >
MG const rmint< K, MG > const T & __RECINT_IS_ARITH (T, rmint< K, MG > &) add(rmint< K
 
template<size_t K, size_t MG>
rmint< K, MG > & add (rmint< K, MG > &a, const rmint< K, MG > &b, const rmint< K, MG > &c)
 
rmint< K, MG > cp (c)
 
 add (r, a.Value, b.Value, cp.Value)
 
 if (r||a.Value >=a.p) sub(a.Value
 
rmint< K, MG > bp (b)
 
 add (r, a.Value, bp.Value)
 

Variables

MG & a
 
MG const rmint< K, MG > & b
 
MG const rmint< K, MG > const T & c
 
p