Changeset 6594d4 in git
- Timestamp:
- Sep 23, 1998, 7:07:45 PM (25 years ago)
- Branches:
- (u'spielwiese', 'f6c3dc58b0df4bd712574325fe76d0626174ad97')
- Children:
- 073d2edeb03013a5c6ed0913687b024305a1427d
- Parents:
- 7709bf1f0117c77f62572e798d2164f8f0a773a4
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/fac_ezgcd.cc
r7709bf r6594d4 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: fac_ezgcd.cc,v 1.1 1 1998-03-12 14:30:50schmidt Exp $ */2 /* $Id: fac_ezgcd.cc,v 1.12 1998-09-23 17:07:45 schmidt Exp $ */ 3 3 4 4 #include <config.h> … … 159 159 DEBOUTLN( cerr, "ezgcdspec: (S1)" ); 160 160 Ft = ezgcd( F, F.deriv( x ) ); 161 if ( Ft.isOne() ) { 162 // In this case F is squarefree and we came here by bad chance 163 // (means: bad evaluation point). Try again with another 164 // evaluation point. Bug fix (?) by JS. The bad example was 165 // gcd.debug -ocr /+USE_EZGCD/@12/CB \ 166 // '(16*B^8-208*B^6*C+927*B^4*C^2-1512*B^2*C^3+432*C^4)' \ 167 // '(4*B^7*C^2-50*B^5*C^3+208*B^3*C^4-288*B*C^5)' 168 b.nextpoint(); 169 return ezgcd( F, G, b, true ); 170 } 171 161 172 DEBOUTLN( cerr, "ezgcdspec: (S1) done, Ft = " << Ft ); 162 173 L = F / Ft; 163 174 /// ---> S2 164 175 DEBOUTLN( cerr, "ezgcdspec: (S2)" ); 176 165 177 L = ezgcd( L, G, b, true ); 166 178 DEBOUTLN( cerr, "ezgcdspec: (S2) done, Ds = " << Ds );
Note: See TracChangeset
for help on using the changeset viewer.