#include <iostream>
#include <givaro/givinteger.h>
#include <cmath>
#include <cassert>
|
template<class U > |
bool | IsNeg (const U p) |
|
template<> |
bool | IsNeg< uint64_t > (const uint64_t p) |
|
template<class T , class U > |
int64_t | ref_modulo (const T m, const U p) |
|
template<class T , class U > |
int64_t | ref_modulobis (const T m, const U p) |
|
template<class T , class U > |
int | test1 (const T m, const U p) |
|
template<class T , class U > |
int | test1bis (const T m, const U p) |
|
int | test2 (Integer &M, Integer &P) |
|
int | test2bis (Integer &M, Integer &P) |
|
template<class T , class U > |
int | test3 (const T m, const U p) |
|
int | main () |
|
◆ AREEQUALVALUES
#define AREEQUALVALUES |
( |
|
a, |
|
|
|
b |
|
) |
| |
Value:
std::cout << "*** ERROR line " << __LINE__ << std::endl; \
std::cout <<
a <<
"!=" <<
b << std::endl; \
return -1 ; \
}
MG & a
Definition: rmadd.h:143
MG const rmint< K, MG > & b
Definition: rmadd.h:143
◆ NB_ITERS
◆ IsNeg()
◆ IsNeg< uint64_t >()
bool IsNeg< uint64_t > |
( |
const uint64_t |
p | ) |
|
|
inline |
◆ ref_modulo()
int64_t ref_modulo |
( |
const T |
m, |
|
|
const U |
p |
|
) |
| |
◆ ref_modulobis()
int64_t ref_modulobis |
( |
const T |
m, |
|
|
const U |
p |
|
) |
| |
◆ test1()
int test1 |
( |
const T |
m, |
|
|
const U |
p |
|
) |
| |
◆ test1bis()
int test1bis |
( |
const T |
m, |
|
|
const U |
p |
|
) |
| |
◆ test2()
◆ test2bis()
◆ test3()
int test3 |
( |
const T |
m, |
|
|
const U |
p |
|
) |
| |
◆ main()