Givaro
Namespaces | Functions
rdiv.h File Reference
#include <cassert>
#include "rrint.h"
#include "rfiddling.h"
#include "rudiv.h"
#include "rcmp.h"
#include <iostream>
+ Include dependency graph for rdiv.h:
+ 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>
rint< K > & operator%= (rint< K > &, const rint< K > &)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, rint< K > & >::type operator%= (rint< K > &, const T &)
 
template<size_t K>
rint< K > & operator/= (rint< K > &, const rint< K > &)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, rint< K > & >::type operator/= (rint< K > &, const T &)
 
template<size_t K>
rint< K > operator% (const rint< K > &, const rint< K > &)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, rint< K > >::type operator% (const rint< K > &, const T &)
 
template<size_t K>
rint< K > operator/ (const rint< K > &, const rint< K > &)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, rint< K > >::type operator/ (const rint< K > &, const T &)
 
template<size_t K>
rint< K > & div_q (rint< K > &q, const rint< K > &a, const rint< K > &b)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, rint< K > & >::type div_q (rint< K > &q, const rint< K > &a, const T &b)
 
template<size_t K>
rint< K > & div_r (rint< K > &r, const rint< K > &a, const rint< K > &b)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, T & >::type div_r (T &r, const rint< K > &a, const T &b)
 
template<size_t K>
rint< K > & inv_mod (rint< K > &, const rint< K > &, const rint< K > &)
 
template<size_t K, size_t R>
void mod_n (rint< K > &, const rint< R > &, const rint< K > &)
 
template<size_t K>
void mod_n (rint< K > &, const rint< K > &)