fieker-DuValspielwiese
Last change
on this file since 2faf9e was
a507140,
checked in by Hans Schoenemann <hannes@…>, 4 years ago
|
opt: nCoeffWrite/nCoeffString via nCoeffName
|
-
Property mode set to
100644
|
File size:
854 bytes
|
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 | |
---|
24 | VAR omBin gmp_nrz_bin = omGetSpecBin(sizeof(mpz_t)); |
---|
25 | |
---|
26 | static 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 |
---|
36 | BOOLEAN nrzInitChar(coeffs r, void *) |
---|
37 | { |
---|
38 | return nlInitChar(r,(void*)1); |
---|
39 | } |
---|
40 | #else |
---|
41 | #error set SI_INTEGER_VARIANT |
---|
42 | #endif |
---|
43 | #endif |
---|
Note: See
TracBrowser
for help on using the repository browser.