Changeset 9bb5457 in git for libpolys/coeffs/numbers.cc
- Timestamp:
- May 27, 2011, 2:56:51 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 2c7f28850c274452c6d4f324225864e2331412ed
- Parents:
- 7af488ec51790060979537b35a03fb345e053f90
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-27 14:56:51+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:39:06+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/numbers.cc
r7af488e r9bb5457 52 52 53 53 void nNew(number* d) { *d=NULL; } 54 void ndDelete(number* d, const coeffs r) { *d=NULL; }54 void ndDelete(number* d, const coeffs) { *d=NULL; } 55 55 void ndInpMult(number &a, number b, const coeffs r) 56 56 { … … 67 67 68 68 #ifdef LDEBUG 69 void nDBDummy1(number* d,char * f, int l) { *d=NULL; }70 BOOLEAN ndDBTest(number a, const char *f, const int l, const coeffs r)69 void nDBDummy1(number* d,char *, int) { *d=NULL; } 70 BOOLEAN ndDBTest(number, const char *, const int, const coeffs) 71 71 { 72 72 return TRUE; … … 90 90 } 91 91 92 void ndNormalize(number& d, const coeffs r) { }93 94 char * ndName(number n, const coeffs r) { return NULL; }95 96 number ndPar(int i, const coeffs r) { return n_Init(0,r); }97 98 number ndReturn0(number n, const coeffs r) { return n_Init(0,r); }99 100 int ndParDeg(number n, const coeffs r) { return 0; }92 void ndNormalize(number&, const coeffs) { } 93 94 char * ndName(number, const coeffs) { return NULL; } 95 96 number ndPar(int, const coeffs r) { return n_Init(0,r); } 97 98 number ndReturn0(number, const coeffs r) { return n_Init(0,r); } 99 100 int ndParDeg(number, const coeffs) { return 0; } 101 101 102 102 number ndGcd(number, number, const coeffs r) { return n_Init(1,r); } … … 122 122 123 123 #ifdef HAVE_RINGS 124 BOOLEAN ndDivBy(number a, number b, const coeffs r) { return TRUE; } // assume a,b !=0125 int ndDivComp(number a, number b, const coeffs r) { return 2; }124 BOOLEAN ndDivBy(number, number, const coeffs) { return TRUE; } // assume a,b !=0 125 int ndDivComp(number, number, const coeffs) { return 2; } 126 126 BOOLEAN ndIsUnit(number a, const coeffs r) { return !n_IsZero(a,r); } 127 number ndExtGcd (number a, number b, number *s, number *t, const coeffs r) { return n_Init(1,r); }127 number ndExtGcd (number, number, number *, number *, const coeffs r) { return n_Init(1,r); } 128 128 #endif 129 129 130 130 #ifdef HAVE_FACTORY 131 CanonicalForm ndConvSingNFactoryN( number n, BOOLEAN setChar, const coeffs r)131 CanonicalForm ndConvSingNFactoryN( number, BOOLEAN /*setChar*/, const coeffs) 132 132 { 133 133 CanonicalForm term(0); … … 136 136 } 137 137 138 number ndConvFactoryNSingN( const CanonicalForm n, const coeffs r)138 number ndConvFactoryNSingN( const CanonicalForm, const coeffs) 139 139 { 140 140 Werror("no conversion from factory");
Note: See TracChangeset
for help on using the changeset viewer.