Changeset f0797c in git for libpolys/coeffs/coeffs.h


Ignore:
Timestamp:
May 25, 2011, 2:42:41 PM (12 years ago)
Author:
Frank Seelisch <seelisch@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
cdf22a94dc67efa0ec23a42eb27722000f1e3645
Parents:
141342d81455232f75bdb4b9179a8cd396939ba4
git-author:
Frank Seelisch <seelisch@mathematik.uni-kl.de>2011-05-25 14:42:41+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 12:36:52+01:00
Message:
char and ringtype related stuff
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r141342 rf0797c  
    7070   coeffs next;
    7171   unsigned int ringtype;  /* =0 => coefficient field,
    72                              !=0 => coeffs from one of the rings */
     72                             !=0 => coeffs from one of the rings:
     73                              =1 => Z/2^mZ
     74                              =2 => Z/nZ, n not a prime
     75                              =3 => Z/p^mZ
     76                              =4 => Z */
    7377
    7478   // general properties:
     
    213217  unsigned long mod2mMask;
    214218#endif
    215   int        ch;  /* characteristic, rInit */
     219  int        ch;  /* characteristic, rInit
     220                     PLEASE DOCUMENT HERE when this will be negative! */
    216221
    217222  short      float_len; /* additional char-flags, rInit */
     
    452457{
    453458  assume(r != NULL);
    454 printf("###### %d, %d\n", r->ringtype, r->ch);
    455 printf("###### %d, %d, %d\n", getCoeffType(r), n_algExt, n_transExt);
    456459  return (r->ringtype == 0) &&
    457460         ((getCoeffType(r)==n_algExt) || (getCoeffType(r)==n_transExt)) &&
Note: See TracChangeset for help on using the changeset viewer.