794 mpz_init_set_si (r->modBase, 2L);
796 mpz_init (r->modNumber);
797 mpz_pow_ui (r->modNumber, r->modBase, r->modExponent);
800 r->ch = (int)r->mod2mMask + 1;
838 r->has_simple_Alloc=
TRUE;
static BOOLEAN nr2mGreater(number a, number b, const coeffs r)
static char * nr2mCoeffName(const coeffs cf)
static number nr2mLcm(number a, number b, const coeffs)
static number nr2mAnn(number b, const coeffs r)
static BOOLEAN nr2mDivBy(number a, number b, const coeffs r)
static void nr2mWrite(number a, const coeffs r)
only used if HAVE_RINGS is defined
static long nr2mInt(number &n, const coeffs r)
static number nr2mDiv(number a, number b, const coeffs r)
static number nr2mGetUnit(number k, const coeffs)
static BOOLEAN nr2mIsZero(number a, const coeffs)
static BOOLEAN nr2mCoeffIsEqual(const coeffs r, n_coeffType n, void *p)
static number nr2mNeg(number c, const coeffs r)
static BOOLEAN nr2mIsOne(number a, const coeffs)
static const char * nr2mRead(const char *s, number *a, const coeffs r)
BOOLEAN nr2mDBTest(number a, const char *f, const int l, const coeffs r)
static coeffs nr2mQuot1(number c, const coeffs r)
static char * nr2mCoeffString(const coeffs r)
static int nr2mDivComp(number as, number bs, const coeffs)
static void nr2mInitExp(int m, coeffs r)
static BOOLEAN nr2mGreaterZero(number k, const coeffs r)
static FORCE_INLINE n_coeffType getCoeffType(const coeffs r)
Returns the type of coeffs domain.
static number nr2mMult(number a, number b, const coeffs r)
static number nr2mExtGcd(number a, number b, number *s, number *t, const coeffs r)
static BOOLEAN nr2mIsMOne(number a, const coeffs r)
static BOOLEAN nr2mEqual(number a, number b, const coeffs)
static number nr2mInvers(number c, const coeffs r)
static number nr2mSub(number a, number b, const coeffs r)
static BOOLEAN nr2mIsUnit(number a, const coeffs)
static void nr2mCoeffWrite(const coeffs r, BOOLEAN)
static number nr2mInit(long i, const coeffs r)
static number nr2mGcd(number a, number b, const coeffs)
static number nr2mAdd(number a, number b, const coeffs r)
static void nr2mPower(number a, int i, number *result, const coeffs r)
static nMapFunc nr2mSetMap(const coeffs src, const coeffs dst)
static number nr2mMod(number a, number b, const coeffs r)