Changeset a96818 in git
- Timestamp:
- Oct 26, 2005, 12:42:40 PM (18 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 73054bb8a1f71c689b22c662c08b762f3913c906
- Parents:
- 2971ea6f2b7ed7331e23db7e6ddfb028a2239a36
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/iparith.cc
r2971ea ra96818 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: iparith.cc,v 1.38 2 2005-10-20 12:19:59Singular Exp $ */4 /* $Id: iparith.cc,v 1.383 2005-10-26 10:42:40 Singular Exp $ */ 5 5 6 6 /* … … 1212 1212 poly p=(poly)u->Data(); 1213 1213 poly q=(poly)v->Data(); 1214 if (p==NULL) 1215 { 1216 res->data=(char *)(q==NULL); 1217 } 1218 else 1219 { 1220 if (q==NULL) res->data=(char *)FALSE; 1221 else 1222 { 1223 int r=pCmp(p,q); 1224 if (r==0) 1225 { 1226 p=pSub(pCopy(p),pCopy(q)); 1227 res->data = (char *) (p==NULL); 1228 pDelete(&p); 1229 } 1230 else 1231 res->data = (char *) FALSE; 1232 } 1233 } 1214 res->data = (char *) (pEqualPolys(p,q)); 1234 1215 jjEQUAL_REST(res,u,v); 1235 1216 return FALSE;
Note: See TracChangeset
for help on using the changeset viewer.