171{
172 std::cout.precision(30);
181 for (
int i = 0; i <
ntrials; i++)
182 {
183
184 gen.nextElement(a);
185 gen.nextElement(b);
189 else
190 {
192
193
195 }
196 }
201}
bool almostEqual(const M2::ARingRR &R, unsigned long nbits, const M2::ARingRR::ElementType &a, const M2::ARingRR::ElementType &b)
void init(ElementType &result) const
void mult(ElementType &result, const ElementType &a, const ElementType &b) const
void divide(ElementType &result, const ElementType &a, const ElementType &b) const
bool is_zero(const ElementType &f) const
static void clear(ElementType &result)
unsigned long get_precision() const
aring-style adapter for double-precision real numbers.