469{
475 r->ch = 0;
477
480
488 #ifdef HAVE_RINGS
494 #endif
499
517
522 #ifdef LDEBUG
524 #endif
526}
@ n_Z
only used if HAVE_RINGS is defined
coeffs nInitChar(n_coeffType t, void *parameter)
one-time initialisations for new coeffs in case of an error return NULL
static int gDivComp(number a, number b, const coeffs r)
static void gWriteFd(number a, FILE *f, const coeffs r)
static number gCopy(number a, const coeffs r)
static number gGcd(number a, number b, const coeffs)
static number gMult(number a, number b, const coeffs cf)
static BOOLEAN gIsMOne(number a, const coeffs r)
static void gWriteShort(number a, const coeffs r)
static BOOLEAN gDivBy(number a, number b, const coeffs)
static void gNormalize(number &a, const coeffs r)
static long gInt(number &a, const coeffs)
static number gAdd(number a, number b, const coeffs cf)
static BOOLEAN gIsUnit(number a, const coeffs)
static void gPower(number a, int i, number *result, const coeffs r)
static number gInpNeg(number a, const coeffs r)
static BOOLEAN gGreaterZero(number a, const coeffs r)
static void gKillChar(coeffs r)
static number gGetUnit(number n, const coeffs r)
static number gInit(long i, const coeffs cf)
static void gCoeffWrite(const coeffs r, BOOLEAN b)
static number gGetDenom(number &a, const coeffs)
static BOOLEAN gEqual(number a, number b, const coeffs r)
static number gGetNumerator(number &a, const coeffs)
static number gRandom(siRandProc p, number p1, number p2, const coeffs cf)
static BOOLEAN gGreater(number a, number b, const coeffs r)
static number gExtGcd(number a, number b, number *s, number *t, const coeffs)
static void gWriteLong(number a, const coeffs r)
static BOOLEAN gDBTest(number a, const char *f, const int l, const coeffs r)
static const char * gRead(const char *s, number *a, const coeffs r)
static number gReadFd(s_buff f, const coeffs r)
static nMapFunc gSetMap(const coeffs src, const coeffs dst)
static BOOLEAN gIsZero(number a, const coeffs r)
static char * gCoeffName(const coeffs r)
static number gInvers(number a, const coeffs r)
static void gDelete(number *a, const coeffs r)
static int gSize(number a, const coeffs)
static number gSub(number a, number b, const coeffs cf)
static number gDiv(number a, number b, const coeffs cf)
static BOOLEAN gIsOne(number a, const coeffs r)