Givaro
Namespaces | Functions
rufiddling.h File Reference
#include "ruadd.h"
+ Include dependency graph for rufiddling.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>
ruint< K > operator~ (const ruint< K > &c)
 
template<size_t K>
ruint< K > operator- (const ruint< K > &c)
 
template<size_t K>
ruint< K > & neg (ruint< K > &, const ruint< K > &)
 
template<size_t K>
ruint< K > & neg (ruint< K > &)
 
template<size_t K>
ruint< K > & operator|= (ruint< K > &b, const ruint< K > &c)
 
template<size_t K>
ruint< K > & operator^= (ruint< K > &b, const ruint< K > &c)
 
template<size_t K>
ruint< K > & operator&= (ruint< K > &b, const ruint< K > &c)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< K > & >::type operator|= (ruint< K > &b, const T &c)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< K > & >::type operator^= (ruint< K > &b, const T &c)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< K > & >::type operator&= (ruint< K > &b, const T &c)
 
template<size_t K>
ruint< K > operator| (const ruint< K > &b, const ruint< K > &c)
 
template<size_t K>
ruint< K > operator^ (const ruint< K > &b, const ruint< K > &c)
 
template<size_t K>
ruint< K > operator& (const ruint< K > &b, const ruint< K > &c)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< K > >::type operator| (const ruint< K > &b, const T &c)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< K > >::type operator^ (const ruint< K > &b, const T &c)
 
template<size_t K, typename T >
std::enable_if< std::is_arithmetic< T >::value, T >::type operator& (const ruint< K > &b, const T &c)
 
template<size_t K>
ruint< K > & max_pow_two (ruint< K > &a)
 
template<size_t K>
bool highest_bit (const ruint< K > &a)
 
template<size_t K>
bool lowest_bit (const ruint< K > &a)
 
template<size_t K>
void set_highest_bit (ruint< K > &a)
 
template<size_t K>
void set_lowest_bit (ruint< K > &a)
 
template<size_t K>
void set_highest_word (ruint< K > &a, const limb w)
 
template<size_t K>
void set_lowest_word (ruint< K > &a, const limb w)
 
template<>
ruint< 6 > operator~ (const ruint< 6 > &c)
 
template<>
ruint< 6 > & neg (ruint< 6 > &r, const ruint< 6 > &c)
 
template<>
ruint< 6 > & operator|= (ruint< 6 > &b, const ruint< 6 > &c)
 
template<typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< 6 > & >::type operator|= (ruint< 6 > &b, const T &c)
 
template<>
ruint< 6 > & operator^= (ruint< 6 > &b, const ruint< 6 > &c)
 
template<typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< 6 > & >::type operator^= (ruint< 6 > &b, const T &c)
 
template<>
ruint< 6 > & operator&= (ruint< 6 > &b, const ruint< 6 > &c)
 
template<typename T >
std::enable_if< std::is_arithmetic< T >::value, ruint< 6 > & >::type operator&= (ruint< 6 > &b, const T &c)
 
template<>
ruint< 6 > & max_pow_two (ruint< 6 > &a)
 
template<>
bool highest_bit (const ruint< 6 > &a)
 
template<>
bool lowest_bit (const ruint< 6 > &a)
 
template<>
void set_highest_bit (ruint< 6 > &a)
 
template<>
void set_lowest_bit (ruint< 6 > &a)
 
template<>
void set_highest_word (ruint< 6 > &a, const limb w)
 
template<>
void set_lowest_word (ruint< 6 > &a, const limb w)