Changeset 922ada4 in git
- Timestamp:
- Aug 3, 2010, 1:52:39 PM (13 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 390cfe56b2dbce8c9ca608246c5b81258cf5e02d
- Parents:
- fa93ce598d169afb25e70f0de46af88382f0840e
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
rfa93ce5 r922ada4 1192 1192 static BOOLEAN jjGE_N(leftv res, leftv u, leftv v) 1193 1193 { 1194 res->data = (char *) (nGreater((number)u->Data(),(number)v->Data()) 1194 res->data = (char *) (nGreater((number)u->Data(),(number)v->Data()) 1195 1195 || nEqual((number)u->Data(),(number)v->Data())); 1196 1196 return FALSE; … … 6121 6121 else bo=TRUE; 6122 6122 if (bo) 6123 { 6123 { 6124 6124 Werror("cannot convert %s to matrix",Tok2Cmdname(v_typ)); 6125 6125 return TRUE; … … 6131 6131 bool noCacheMinors = true; bool noCacheMonomials = true; 6132 6132 ideal IasSB; int k; char* algorithm; int cacheMinors; int cacheMonomials; 6133 6133 6134 6134 /* here come the different cases of correct argument sets */ 6135 6135 if ((u->next != NULL) && (u->next->Typ() == IDEAL_CMD)) … … 6195 6195 } 6196 6196 } 6197 6197 6198 6198 /* upper case conversion for the algorithm if present */ 6199 6199 if (!noAlgorithm) … … 6387 6387 if (nok) return TRUE; 6388 6388 poly p=(poly)u->Data(); 6389 if ((monomexpr!=NULL)6390 &&((long)pTotaldegree(monomexpr)> (currRing->bitmask / (long)pTotaldegree(p))))6391 {6392 Werror("OVERFLOW in subst, max exponent is %ld",currRing->bitmask);6393 return TRUE;6394 }6395 6389 if (ringvar>0) 6396 6390 { 6391 if ((monomexpr!=NULL) 6392 &&((long)pTotaldegree(monomexpr)> (currRing->bitmask / (long)pTotaldegree(p)))) 6393 { 6394 Werror("OVERFLOW in subst, max exponent is %ld",currRing->bitmask); 6395 return TRUE; 6396 } 6397 6397 if ((monomexpr==NULL)||(pNext(monomexpr)==NULL)) 6398 6398 res->data = pSubst((poly)u->CopyD(res->rtyp),ringvar,monomexpr); … … 8601 8601 { 8602 8602 int r=res->rtyp=dArith1[i].res; 8603 8604 8603 if (currRing!=NULL) 8604 { 8605 8605 #ifdef HAVE_PLURAL 8606 8606 if ((currRing!=NULL) && (rIsPluralRing(currRing))) … … 8629 8629 } 8630 8630 #endif 8631 8631 } 8632 8632 if (r<0) 8633 8633 { … … 8800 8800 res->rtyp=dArith3[i].res; 8801 8801 if (currRing!=NULL) 8802 8802 { 8803 8803 #ifdef HAVE_PLURAL 8804 8804 if (rIsPluralRing(currRing)) … … 8827 8827 } 8828 8828 #endif 8829 8829 } 8830 8830 if ((call_failed=dArith3[i].p(res,a,b,c))) 8831 8831 { … … 9043 9043 { 9044 9044 res->rtyp=dArithM[i].res; 9045 9046 9045 if (currRing!=NULL) 9046 { 9047 9047 #ifdef HAVE_PLURAL 9048 9048 if (rIsPluralRing(currRing)) … … 9071 9071 } 9072 9072 #endif 9073 9073 } 9074 9074 if (dArithM[i].p(res,a)) 9075 9075 {
Note: See TracChangeset
for help on using the changeset viewer.