Definition at line 382 of file aring-gf-flint-big.hpp.
383 {
384 if (mpz_sgn(n) < 0 and
is_zero(a))
385 throw exc::division_by_zero_error();
386
389 if (mpz_sgn(n) < 0)
391 else
393
394 mpz_t abs_n;
395 mpz_init(abs_n);
396 mpz_abs(abs_n, n);
397
399 fmpz_init_set_readonly(
fn, abs_n);
401 fmpz_clear_readonly(
fn);
402 mpz_clear(abs_n);
404 }
void clear(ElementType &result) const
bool is_zero(const ElementType &f) const
void invert(ElementType &result, const ElementType &a) const
fq_nmod_struct ElementType
void init(ElementType &result) const
void copy(ElementType &result, const ElementType &a) const
static CanonicalForm base
VALGRIND_MAKE_MEM_DEFINED & result(result)
References base, clear(), copy(), fn, init(), invert(), is_zero(), mContext, and result().