Go to the source code of this file.
◆ crPrint()
Definition at line 25 of file number2.cc.
const CanonicalForm int s
char * crString(coeffs c)
void PrintS(const char *s)
◆ crString()
Definition at line 17 of file number2.cc.
static FORCE_INLINE char * nCoeffName(const coeffs cf)
◆ jjCRING_Zm()
Definition at line 88 of file number2.cc.
91 number i2=(number)
b->Data();
97 info.base= (mpz_ptr)modBase;
99 if (mpz_popcount(modBase)==1)
102 mp_bitcnt_t
l=mpz_scan1 (modBase,0);
103 if ((
l>0) && (
l<=8*
sizeof(
unsigned long)))
109 mpz_set_ui(modBase,2);
@ n_Znm
only used if HAVE_RINGS is defined
@ n_Zn
only used if HAVE_RINGS is defined
@ n_Z2m
only used if HAVE_RINGS is defined
@ 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
const ExtensionInfo & info
< [in] sqrfree poly
void nlMPZ(mpz_t m, number &n, const coeffs r)
The main handler for Singular numbers which are suitable for Singular polynomials.
◆ jjCRING_Zp()
Definition at line 35 of file number2.cc.
38 unsigned long i2=(
unsigned long)
b->Data();
41 if (i2==(
unsigned long)
IsPrime(i2))
48 mpz_init_set_ui(modBase,i2);
59 mpz_init_set_ui(modBase,i2);
62 if (mpz_popcount((mpz_ptr)modBase)==1)
66 if (i2<(8*
sizeof(
unsigned long)))
74 mpz_set_ui(modBase,2);
static int SI_LOG2(int v)
◆ jjEQUAL_CR()
◆ jjR2_CR()
Definition at line 132 of file number2.cc.
134 ring r=(ring)a->
Data();
struct for passing initialization parameters to naInitChar
@ n_transExt
used for all transcendental extensions, i.e., the top-most extension in an extension tower is transce...