64{
66
68 {
71 return;
72 }
73 if (fmpz_cmp_ui(&b, 1) == 0)
74 {
77 return;
78 }
79 if (fmpz_cmp_si(&b, -1) == 0)
80 {
83 return;
84 }
87 fmpz_gcd(&g, &a, &b);
92 else
95}
bool is_zero(const ElementType &f) const
void set(ElementType &result, const ElementType &a) const
void negate(ElementType &result, const ElementType &a) const
void set_zero(ElementType &result) const
bool divide(ElementType &result, const ElementType &a, const ElementType &b) const
test doc
void init(ElementType &result) const
void set_from_long(ElementType &result, long a) const
static void clear(ElementType &result)