My Project
Loading...
Searching...
No Matches
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
25
26static char* nrzCoeffName(const coeffs)
27{
28 return (char*)"ZZ";
29}
30
31#if SI_INTEGER_VARIANT == 2
32#include "rintegers2.cc"
33#elif SI_INTEGER_VARIANT == 3
34#include "rintegers3.cc"
35#elif SI_INTEGER_VARIANT == 1
36BOOLEAN nrzInitChar(coeffs r, void *)
37{
38 return nlInitChar(r,(void*)1);
39}
40#else
41#error set SI_INTEGER_VARIANT
42#endif
43#endif
All the auxiliary stuff.
int BOOLEAN
Definition: auxiliary.h:87
#define VAR
Definition: globaldefs.h:5
BOOLEAN nlInitChar(coeffs r, void *p)
Definition: longrat.cc:3475
The main handler for Singular numbers which are suitable for Singular polynomials.
#define omGetSpecBin(size)
Definition: omBin.h:11
omBin_t * omBin
Definition: omStructs.h:12
static char * nrzCoeffName(const coeffs)
Definition: rintegers.cc:26
VAR omBin gmp_nrz_bin
Definition: rintegers.cc:24
BOOLEAN nrzInitChar(coeffs r, void *parameter)