43 if (c > 536870909)
factoryError(
"characteristic is too large(max is 2^29)");
53 ASSERT( c > 1 && n > 0,
"illegal characteristic" );
63 ASSERT( c != 0 && n > 1,
"illegal GF(q)" );
This file defines functions for conversion to FLINT (www.flintlib.org) and back.
#define ASSERT(expression, message)
STATIC_VAR int theCharacteristic
CanonicalForm getGFGenerator()
void setCharacteristic(int c)
#define FiniteFieldDomain
#define GaloisFieldDomain
int cf_getNumSmallPrimes()
int cf_getSmallPrime(int i)
VAR void(* factoryError)(const char *s)
static void settype(int type)
static void setPrimePower(int p, int k)
void ff_setprime(const int p)
void gf_setcharacteristic(int p, int n, char name)
operations on immediates, that is elements of F_p, GF, Z, Q that fit into intrinsic int,...
InternalCF * int2imm_gf(long i)
int name
New type name for int.