source: git/libpolys/coeffs/rintegers.cc @ a3f0fea

fieker-DuValspielwiese
Last change on this file since a3f0fea was a3f0fea, checked in by Reimer Behrends <behrends@…>, 5 years ago
Modify variable declarions for pSingular.
  • Property mode set to 100644
File size: 1.0 KB
Line 
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
24VAR omBin gmp_nrz_bin = omGetSpecBin(sizeof(mpz_t));
25
26static void nrzCoeffWrite  (const coeffs, BOOLEAN /*details*/)
27{
28  PrintS("ZZ");
29}
30
31static char* nrzCoeffName(const coeffs)
32{
33  return (char*)"ZZ";
34}
35
36static 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
46BOOLEAN nrzInitChar(coeffs r,  void *)
47{
48  return nlInitChar(r,(void*)1);
49}
50#else
51#error set SI_INTEGER_VARIANT
52#endif
53#endif
Note: See TracBrowser for help on using the repository browser.