Changeset e26667 in git for factory/fac_ezgcd.cc
- Timestamp:
- May 2, 2012, 2:00:57 PM (12 years ago)
- Branches:
- (u'spielwiese', '4a9821a93ffdc22a6696668bd4f6b8c9de3e6c5f')
- Children:
- 2156ec376c4c5977dc1fc4a9186651db3fdf492d
- Parents:
- 59778389f5075553bef793320610ce298d74b18d
- git-author:
- Martin Lee <martinlee84@web.de>2012-05-02 14:00:57+02:00
- git-committer:
- Martin Lee <martinlee84@web.de>2012-05-07 14:17:00+02:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/fac_ezgcd.cc
r597783 re26667 414 414 bool isRat= isOn (SW_RATIONAL); 415 415 CanonicalForm F, G, f, g, d, Fb, Gb, Db, Fbt, Gbt, Dbt, B0, B, D0, lcF, lcG, 416 lcD, cand, result;416 lcD, cand, contcand, result; 417 417 CFArray DD( 1, 2 ), lcDD( 1, 2 ); 418 418 int degF, degG, delta, t, count, maxeval; … … 654 654 if (gcdfound) 655 655 { 656 cand = DD[2] / content( DD[2], Variable(1) ); 657 gcdfound = fdivides( cand, G ) && fdivides ( cand, F ); 656 contcand= content (DD[2], Variable (1)); 657 cand = DD[2] / contcand; 658 if (B_is_F) 659 gcdfound = fdivides( cand, G ) && cand*(DD[1]/(lcD/contcand)) == F; 660 else 661 gcdfound = fdivides( cand, F ) && cand*(DD[1]/(lcD/contcand)) == G; 658 662 } 659 663 /// ---> A8 (gcdfound)
Note: See TracChangeset
for help on using the changeset viewer.