140{
149 for (
int i = 0; i <
ntrials; i++)
150 {
151
152 gen.nextElement(a);
153 gen.nextElement(b);
158
160
161
163 }
168}
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 subtract_multiple(ElementType &result, const ElementType &a, const ElementType &b) const
static void clear(ElementType &result)
unsigned long get_precision() const
void add(ElementType &result, const ElementType &a, const ElementType &b) const
void subtract(ElementType &result, const ElementType &a, const ElementType &b) const
aring-style adapter for double-precision real numbers.