Changeset e380c09 in git for factory/fac_ezgcd.cc
- Timestamp:
- Jul 19, 2013, 5:18:33 PM (11 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 5e03fb4e472ba218e89b7a882ab8398f47f1d5ad
- Parents:
- 47310215b203f48bdcb8ddd5548d21c99d84717a
- git-author:
- Martin Lee <martinlee84@web.de>2013-07-19 17:18:33+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2013-07-22 15:49:54+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/fac_ezgcd.cc
r473102 re380c09 432 432 { 433 433 bool isRat= isOn (SW_RATIONAL); 434 435 int maxNumVars= tmax (getNumVars (FF), getNumVars (GG)); 436 int sizeF= size (FF); 437 int sizeG= size (GG); 438 439 440 if (!isRat) 441 On (SW_RATIONAL); 442 if (sizeF/maxNumVars > 500 && sizeG/maxNumVars > 500) 443 { 444 Off(SW_USE_EZGCD); 445 CanonicalForm result=gcd( FF, GG ); 446 On(SW_USE_EZGCD); 447 if (!isRat) 448 Off (SW_RATIONAL); 449 result /= icontent (result); 450 DEBDECLEVEL( cerr, "ezgcd" ); 451 return result; 452 } 453 454 434 455 CanonicalForm F, G, f, g, d, Fb, Gb, Db, Fbt, Gbt, Dbt, B0, B, D0, lcF, lcG, 435 456 lcD, cand, contcand, result; … … 497 518 } 498 519 499 int maxNumVars= tmax (getNumVars (F), getNumVars (G)); 500 int sizeF= size (F); 501 int sizeG= size (G); 502 520 maxNumVars= tmax (getNumVars (F), getNumVars (G)); 521 sizeF= size (F); 522 sizeG= size (G); 503 523 504 524 if (!isRat)
Note: See TracChangeset
for help on using the changeset viewer.