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


Ignore:
Timestamp:
Jan 6, 2012, 9:43:08 PM (12 years ago)
Author:
Oleksandr Motsak <motsak@…>
Branches:
(u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
Children:
4b38e3cc9992129dd4ef044c1d2cc7e55f93b134
Parents:
40e88db63c509564c2b00b7142b39ef6b846f72e
git-author:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:43:08+01:00
git-committer:
Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:59:37+01:00
Message:
Zp cleanup (no more coeffs::npPrimeM)

CHG: removed coeffs::npPrimeM in favour of coeffs::ch
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libpolys/coeffs/coeffs.h

    r40e88db re77676  
    102102   void (*cfCoeffWrite)(const coeffs r, BOOLEAN details);
    103103
    104    // the union stuff
    105 
    106    // Zp:
    107    int npPrimeM;
    108    int npPminus1M;
    109    #ifdef HAVE_DIV_MOD
    110    unsigned short *npInvTable;
    111    #endif
    112    #if !defined(HAVE_DIV_MOD) || !defined(HAVE_MULT_MOD)
    113    unsigned short *npExpTable;
    114    unsigned short *npLogTable;
    115    #endif
    116 
    117104   // ?
    118105   // initialisation:
     
    209196   int     factoryVarOffset;
    210197   n_coeffType type;
    211 //-------------------------------------------
     198
     199   /////////////////////////////////////////////
     200   // the union stuff
     201
     202   //-------------------------------------------
    212203
    213204  /* for extension fields we need to be able to represent polynomials,
     
    276267  int *m_nfMinPoly;
    277268  char * m_nfParameter;
     269
     270// ---------------------------------------------------
     271// for Zp:
     272#ifdef HAVE_DIV_MOD
     273  unsigned short *npInvTable;
     274#endif
     275#if !defined(HAVE_DIV_MOD) || !defined(HAVE_MULT_MOD)
     276  unsigned short *npExpTable;
     277  unsigned short *npLogTable;
     278#endif
     279   //   int npPrimeM; // NOTE: npPrimeM is deprecated, please use ch instead!
     280  int npPminus1M; ///< characteristic - 1
    278281};
    279282//
Note: See TracChangeset for help on using the changeset viewer.