36 ASSERT( 0,
"illegal type" );
46 mpz_init_set_si( result, 1 );
56 ASSERT( 0,
"illegal type" );
63 return ((intptr_t)ff) >>2;
void gmp_numerator(const CanonicalForm &f, mpz_ptr result)
Factory's internal rationals.
static poly normalize(poly next_p, ideal add_generators, syStrategy syzstr, int *g_l, int *p_l, int crit_comp)
const CanonicalForm CFMap CFMap int &both_non_zero int n
static mpz_ptr MPQDEN(const InternalCF *const c)
virtual class for internal CanonicalForm's
CanonicalForm make_cf(const mpz_ptr n)
int gf_value(const CanonicalForm &f)
virtual int levelcoeff() const
helper functions for conversion to and from Singular
static InternalCF * rational(long num, long den)
Interface to generate InternalCF's over various domains from intrinsic types or mpz_t's.
InternalCF * int2imm_gf(long i)
static InternalCF * basic(long value)
static mpz_ptr MPI(const InternalCF *const c)
MPI() - return underlying mpz_t of `c'.
CanonicalForm make_cf_from_gf(const int z)
void gmp_denominator(const CanonicalForm &f, mpz_ptr result)
operations on immediates, that is elements of F_p, GF, Z, Q that fit into intrinsic int...
Factory's internal CanonicalForm's.
#define ASSERT(expression, message)
static mpz_ptr MPQNUM(const InternalCF *const c)
Factory's internal integers.