159{
168 for (
int i = 0; i <
ntrials; i++)
169 {
170
171 gen.nextElement(a);
172 gen.nextElement(b);
176 else
177 {
180 }
181 }
186}
bool almostEqual(const M2::ARingCC &C, unsigned long nbits, const M2::ARingCC::ElementType &a, const M2::ARingCC::ElementType &b)
void mult(ElementType &res, const ElementType &a, const RealElementType &b) const
bool is_zero(const ElementType &f) const
void init(ElementType &result) const
unsigned long get_precision() const
void divide(ElementType &res, const ElementType &a, const RealElementType &b) const
static void clear(ElementType &result)
aring-style adapter for double-precision complex numbers, stored as (double, double) pairs.