Changeset 613794 in git
- Timestamp:
- May 11, 2011, 7:44:47 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a657104b677b4c461d018cbf3204d72d34ad66a9')
- Children:
- 9a90342ac6c7e2f12bfda27f0321e45d10c13c82
- Parents:
- 529fa4949959b00e5797a75be00fe6738a132f14
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2011-05-11 19:44:47+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:06+01:00
- Location:
- libpolys/coeffs
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/coeffs/rintegers.cc
r529fa4 r613794 382 382 { 383 383 r->cfSetChar= NULL; 384 r->nCoeffIsEqual = ndCoeffIsEqual; 385 r->cfKillChar = ndKillChar; 384 386 r->cfMult = nrzMult; 385 387 r->cfSub = nrzSub; 386 r->nCoeffIsEqual = ndCoeffIsEqual;387 388 r->cfAdd = nrzAdd; 388 389 r->cfDiv = nrzDiv; -
libpolys/coeffs/rmodulo2m.cc
r529fa4 r613794 28 28 void nr2mCoeffWrite (const coeffs r) 29 29 { 30 Print("// Z/2^%lu\n", r->modExponent); 31 } 32 30 Print("// Z/2^%lu\n", r->modExponent); 31 } 32 33 BOOLEAN nr2mCoeffIsEqual(const coeffs r, n_coeffType n, void * p) 34 { 35 if (n==n_Z2m) 36 { 37 int m=(int)(long)(p); 38 unsigned long mm=r->mod2mMask; 39 if ((mm>>m)==1L) return TRUE; 40 } 41 return FALSE; 42 } 33 43 /* for initializing function pointers */ 34 44 BOOLEAN nr2mInitChar (coeffs r, void* p) 35 45 { 36 37 46 nr2mInitExp((int)(long)(p), r); 47 r->cfKillChar = ndKillChar; /* dummy*/ 48 r->nCoeffIsEqual = nr2mCoeffIsEqual; 38 49 39 50 r->cfInit = nr2mInit;
Note: See TracChangeset
for help on using the changeset viewer.