Changeset 77f483 in git for factory/canonicalform.cc
- Timestamp:
- Jun 28, 2005, 4:39:52 PM (18 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- fea91578e32b53237ec9712c2af66d889a3b6241
- Parents:
- 3781a22b49bf6807b4bfa152e670e186f67e6e1a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/canonicalform.cc
r3781a2 r77f483 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: canonicalform.cc,v 1.3 3 2003-10-15 17:19:39Singular Exp $ */2 /* $Id: canonicalform.cc,v 1.34 2005-06-28 14:39:52 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 1545 1545 if ( f.isZero() || g.isZero() ) 1546 1546 return CanonicalForm( 0 ); 1547 /* 1548 else if (f.isOne()) 1549 return g; 1550 else if (g.isOne()) 1551 return f; 1552 */ 1547 1553 else 1548 1554 return (f / bgcd( f, g )) * g;
Note: See TracChangeset
for help on using the changeset viewer.