#include <iostream>
#include <givaro/modular.h>
#include <givaro/givinteger.h>
◆ TESTE_EG
| #define TESTE_EG |
( |
| a, |
|
|
| b ) |
Value:if (!F.areEqual((a),(b))) { \
F.write( F.write(std::cout,a) << "!=",b) \
<< " failed (at line " << __LINE__ << ")" << std::endl; \
throw std::string( "Message d'erreur" ); \
return -1; \
}
◆ NBITER
◆ JETESTE
| #define JETESTE |
( |
| F, |
|
|
| x, |
|
|
| y ) |
Value:
std::cout << #x << " " << #y << " failed !" << std::endl; \
return -1; \
}
int TestOneMulPrecomp(const Ring &F, const typename Ring::Element &x, const typename Ring::Element &y)
Definition test-modularmulprecomp.C:25
◆ TestOneMulPrecomp()
◆ TestMulPrecomp()
template<class Ring>
| int TestMulPrecomp |
( |
const Ring & | F, |
|
|
const uint64_t | seed ) |
◆ main()
| int main |
( |
int | argc, |
|
|
char ** | argv ) |