Changeset 9b9b5a in git
- Timestamp:
- Apr 22, 2008, 10:38:25 AM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 644c6b4ce376564f5869fabfb71bce10cba6393d
- Parents:
- 608c410362f7b06cfa02f9d25ef2d8d5780c43e6
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/clapsing.cc
r608c41 r9b9b5a 3 3 * Computer Algebra System SINGULAR * 4 4 ****************************************/ 5 // $Id: clapsing.cc,v 1.2 8 2008-03-18 10:11:04Singular Exp $5 // $Id: clapsing.cc,v 1.29 2008-04-22 08:38:25 Singular Exp $ 6 6 /* 7 7 * ABSTRACT: interface between Singular and factory … … 203 203 if (f!=NULL) pCleardenom(f); 204 204 if (g!=NULL) pCleardenom(g); 205 else return pCopy(f); // g==0 => gcd=f (but do a pCleardenom) 206 if (f==NULL) return pCopy(g); // f==0 => gcd=g (but do a pCleardenom) 207 208 if (pIsConstantPoly(f) || pIsConstantPoly(g)) return pOne(); 205 else return f; // g==0 => gcd=f (but do a pCleardenom) 206 if (f==NULL) return g; // f==0 => gcd=g (but do a pCleardenom) 207 208 if (pIsConstantPoly(f) || pIsConstantPoly(g)) 209 { 210 pDelete(&f); 211 pDelete(&g); 212 return pOne(); 213 } 209 214 210 215 // for now there is only the possibility to handle polynomials over
Note: See TracChangeset
for help on using the changeset viewer.