131{
140 for (
int i = 0; i <
ntrials; i++)
141 {
142
143 gen.nextElement(a);
144 gen.nextElement(b);
151 }
156}
bool almostEqual(const M2::ARingCC &C, unsigned long nbits, const M2::ARingCC::ElementType &a, const M2::ARingCC::ElementType &b)
void subtract_multiple(ElementType &result, const ElementType &a, const ElementType &b) const
void mult(ElementType &res, const ElementType &a, const RealElementType &b) const
void add(ElementType &res, const ElementType &a, const ElementType &b) const
bool is_zero(const ElementType &f) const
void init(ElementType &result) const
void subtract(ElementType &res, const ElementType &a, const ElementType &b) const
unsigned long get_precision() const
static void clear(ElementType &result)
aring-style adapter for double-precision complex numbers, stored as (double, double) pairs.