My Project
debian-1:4.1.2-p1+ds-2
libpolys
coeffs
rintegers.cc
Go to the documentation of this file.
1
/****************************************
2
* Computer Algebra System SINGULAR *
3
****************************************/
4
/*
5
* ABSTRACT: numbers (integers)
6
*/
7
8
#include "
misc/auxiliary.h
"
9
10
#ifdef HAVE_RINGS
11
#include "factory/factory.h"
12
13
#include "
misc/mylimits.h
"
14
#include "
reporter/reporter.h
"
15
16
#include "
coeffs/rintegers.h
"
17
#include "
coeffs/mpr_complex.h
"
18
#include "
coeffs/rmodulon.h
"
19
#include "
coeffs/longrat.h
"
20
#include "
coeffs/numbers.h
"
21
22
#include <string.h>
23
24
VAR
omBin
gmp_nrz_bin
=
omGetSpecBin
(
sizeof
(mpz_t));
25
26
static
void
nrzCoeffWrite
(
const
coeffs
,
BOOLEAN
/*details*/
)
27
{
28
PrintS
(
"ZZ"
);
29
}
30
31
static
char
*
nrzCoeffName
(
const
coeffs
)
32
{
33
return
(
char
*)
"ZZ"
;
34
}
35
36
static
char
*
nrzCoeffString
(
const
coeffs
cf
)
37
{
38
return
omStrDup
(
nrzCoeffName
(
cf
));
39
}
40
41
#if SI_INTEGER_VARIANT == 2
42
#include "
rintegers2.cc
"
43
#elif SI_INTEGER_VARIANT == 3
44
#include "
rintegers3.cc
"
45
#elif SI_INTEGER_VARIANT == 1
46
BOOLEAN
nrzInitChar
(
coeffs
r,
void
*)
47
{
48
return
nlInitChar
(r,(
void
*)1);
49
}
50
#else
51
#error set SI_INTEGER_VARIANT
52
#endif
53
#endif
rintegers2.cc
mpr_complex.h
omGetSpecBin
#define omGetSpecBin(size)
Definition:
omBin.h:10
cf
CanonicalForm cf
Definition:
cfModGcd.cc:4024
omStrDup
#define omStrDup(s)
Definition:
omAllocDecl.h:261
auxiliary.h
reporter.h
rintegers.h
nrzInitChar
BOOLEAN nrzInitChar(coeffs r, void *parameter)
nrzCoeffString
static char * nrzCoeffString(const coeffs cf)
Definition:
rintegers.cc:35
PrintS
void PrintS(const char *s)
Definition:
reporter.cc:283
BOOLEAN
int BOOLEAN
Definition:
auxiliary.h:87
rmodulon.h
VAR
#define VAR
Definition:
globaldefs.h:5
nrzCoeffWrite
static void nrzCoeffWrite(const coeffs, BOOLEAN)
Definition:
rintegers.cc:25
coeffs
rintegers3.cc
omBin
omBin_t * omBin
Definition:
omStructs.h:11
nrzCoeffName
static char * nrzCoeffName(const coeffs)
Definition:
rintegers.cc:30
mylimits.h
longrat.h
gmp_nrz_bin
VAR omBin gmp_nrz_bin
Definition:
rintegers.cc:23
nlInitChar
BOOLEAN nlInitChar(coeffs r, void *p)
Definition:
longrat.cc:3321
numbers.h
Generated on Thu Jan 9 2020 20:32:43 for My Project by
doxygen 1.8.16
for
Singular debian-1:4.1.2-p1+ds-2