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#include "factory/factory.h"
11
12#include "misc/mylimits.h"
13#include "reporter/reporter.h"
14
15#include "coeffs/rintegers.h"
16#include "coeffs/mpr_complex.h"
17#include "coeffs/rmodulon.h"
18#include "coeffs/longrat.h"
19#include "coeffs/numbers.h"
20
21#include <string.h>
22
24
25static char* nrzCoeffName(const coeffs)
26{
27 return (char*)"ZZ";
28}
29
30#if SI_INTEGER_VARIANT == 2
31#include "rintegers2.cc"
32#elif SI_INTEGER_VARIANT == 3
33#include "rintegers3.cc"
34#elif SI_INTEGER_VARIANT == 1
35BOOLEAN nrzInitChar(coeffs r, void *)
36{
37 return nlInitChar(r,(void*)1);
38}
39#else
40#error set SI_INTEGER_VARIANT
41#endif
All the auxiliary stuff.
int BOOLEAN
Definition auxiliary.h:88
‘factory.h’ is the user interface to Factory.
#define VAR
Definition globaldefs.h:5
BOOLEAN nlInitChar(coeffs r, void *p)
Definition longrat.cc:3463
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:25
VAR omBin gmp_nrz_bin
Definition rintegers.cc:23
BOOLEAN nrzInitChar(coeffs r, void *parameter)