Changeset 116a98 in git
- Timestamp:
- Nov 19, 1997, 2:08:11 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- c2b784d2a361f4e8e390743e963f669b3e9b6b5d
- Parents:
- 2adb1c3c7f1cce8d55c4699a9c007c51944eb78c
- Location:
- Singular
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/longalg.cc
r2adb1c r116a98 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: longalg.cc,v 1.1 4 1997-11-18 16:10:42Singular Exp $ */4 /* $Id: longalg.cc,v 1.15 1997-11-19 13:08:10 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT: algebraic numbers … … 1769 1769 mmTestP(a,sizeof(rnumber)); 1770 1770 #ifdef TEST 1771 if (a->z==NULL) WerrorS("internal zero error(5)"); 1771 if (a->z==NULL) 1772 { 1773 WerrorS("internal zero error(5)"); 1774 return FALSE; 1775 } 1772 1776 #endif 1773 1777 if (a->n==NULL) -
Singular/polys0.cc
r2adb1c r116a98 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: polys0.cc,v 1. 5 1997-07-02 16:44:14Singular Exp $ */4 /* $Id: polys0.cc,v 1.6 1997-11-19 13:08:11 Singular Exp $ */ 5 5 6 6 /* … … 27 27 BOOLEAN wroteCoef=FALSE,writeGen=FALSE; 28 28 29 if ((pIsConstantComp(p)) 29 nNormalize(pGetCoeff(p)); 30 31 if (((pGetComp(p) == (short)ko) 32 &&(pIsConstantComp(p))) 30 33 || ((!nIsOne(pGetCoeff(p))) 31 32 34 && (!nIsMOne(pGetCoeff(p))) 35 ) 33 36 #ifdef DRING 34 37 || (pDRING && pdIsConstantComp(p)) … … 52 55 #endif 53 56 { 54 short ee = p ->exp[i+1];57 short ee = pGetExp(p,i+1); 55 58 if (ee!=0) 56 59 { … … 79 82 } 80 83 } 81 if (p ->exp[0]!= (short)ko)84 if (pGetComp(p) != (short)ko) 82 85 { 83 86 if (writeGen) StringAppendS("*"); 84 StringAppend("gen(%d)", p ->exp[0]);87 StringAppend("gen(%d)", pGetComp(p)); 85 88 } 86 89 }
Note: See TracChangeset
for help on using the changeset viewer.