Changeset 6cee1d in git


Ignore:
Timestamp:
May 5, 2010, 5:52:06 PM (14 years ago)
Author:
Hans Schoenemann <hannes@…>
Branches:
(u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', '45e267b9942dec9429fe249ce3e5e44ab80a6a3a')
Children:
e3c02d2b15d64dbff4ac5fe4ef2227cbaeb5a216
Parents:
1990de843c36aeaeb40e702d7d4a1ecc8ff753ea
git-author:
Hans Schoenemann <hannes@mathematik.uni-kl.de>2010-05-05 17:52:06+02:00
git-committer:
Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 11:52:53+01:00
Message:
init for Q
File:
1 edited

Legend:

Unmodified
Added
Removed
  • coeffs/numbers.cc

    r1990de8 r6cee1d  
    109109void nSetChar(coeffs r)
    110110{
    111   int c=rInternalChar(r);
     111  int c=r->ch;
    112112
    113113  /*--------------------- Q -----------------*/
     
    202202{
    203203  int c=nInternalChar(r);
    204   n_coeffType t=nFieldType(r);
     204  n_coeffType t=getCoeffType(r);
    205205
    206206  #if 0 /* vertagt*/
     
    362362#endif
    363363  }
    364 #endif
    365   else if (nField_is_Q(r))
    366   {
    367     n->cfDelete= nlDelete;
    368     n->nNormalize=nlNormalize;
    369     n->cfInit = nlInit;
    370     n->n_Int  = nlInt;
    371     n->nAdd   = nlAdd;
    372     n->nSub   = nlSub;
    373     n->nMult  = nlMult;
    374     n->nInpMult=nlInpMult;
    375     n->nDiv   = nlDiv;
    376     n->nExactDiv= nlExactDiv;
    377     n->nIntDiv= nlIntDiv;
    378     n->nIntMod= nlIntMod;
    379     n->nNeg   = nlNeg;
    380     n->nInvers= nlInvers;
    381     n->cfCopy  = nlCopy;
    382     n->nGreater = nlGreater;
    383     n->nEqual = nlEqual;
    384     n->nIsZero = nlIsZero;
    385     n->nIsOne = nlIsOne;
    386     n->nIsMOne = nlIsMOne;
    387     n->nGreaterZero = nlGreaterZero;
    388     n->cfWrite = nlWrite;
    389     n->nRead = nlRead;
    390     n->nPower = nlPower;
    391     n->nGcd  = nlGcd;
    392     n->nLcm  = nlLcm;
    393     n->cfSetMap = nlSetMap;
    394     n->nSize  = nlSize;
    395     n->cfGetDenom = nlGetDenom;
    396     n->cfGetNumerator = nlGetNumerator;
    397 #ifdef LDEBUG
    398     n->nDBTest=nlDBTest;
    399 #endif
     364  else
     365#endif
     366  if (nField_is_Q(r))
     367  {
     368    r->cfInitChar=nlInitChar;
     369    nlInitChar();
    400370  }
    401371  else if (nField_is_Zp(r))
Note: See TracChangeset for help on using the changeset viewer.