Changeset 7453b4 in git
- Timestamp:
- Jan 27, 2012, 2:50:24 PM (11 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- f3cdf9e5f707acda78af0e21e064d4b843c72a1a
- Parents:
- 5e17976a905ed4b96978d782901ce629d68cadb7
- git-author:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-01-27 14:50:24+01:00
- git-committer:
- Hans Schoenemann <hannes@mathematik.uni-kl.de>2012-01-27 14:51:08+01:00
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_chinese.cc
r5e1797 r7453b4 198 198 CanonicalForm c; 199 199 CFIterator i; 200 #ifdef HAVE_NTL 201 ZZ NTLq= convertFacCF2NTLZZ (q); 202 ZZ bound; 203 SqrRoot (bound, NTLq/2); 204 #endif 200 205 for ( i = f; i.hasTerms(); i++ ) 201 206 { … … 210 215 if (lessZero) 211 216 NTL::negate (NTLc, NTLc); 212 ZZ NTLq= convertFacCF2NTLZZ (q);213 ZZ bound;214 SqrRoot (bound, NTLq/2);215 217 ZZ NTLnum, NTLden; 216 218 if (ReconstructRational (NTLnum, NTLden, NTLc, NTLq, bound, bound)) -
libpolys/coeffs/longrat.cc
r5e1797 r7453b4 2563 2563 break; 2564 2564 } 2565 mpz_mod(D,E,N); 2566 mpz_div(tmp,E,N); 2565 //mpz_mod(D,E,N); 2566 //mpz_div(tmp,E,N); 2567 mpz_divmod(tmp,D,E,N); 2567 2568 mpz_mul(tmp,tmp,B); 2568 2569 mpz_sub(C,A,tmp);
Note: See TracChangeset
for help on using the changeset viewer.