- Timestamp:
- Jul 13, 2020, 5:52:25 PM (4 years ago)
- Branches:
- (u'fieker-DuVal', '117eb8c30fc9e991c4decca4832b1d19036c4c65')(u'spielwiese', 'fc741b6502fd8a97288eaa3eba6e5220f3c3df87')
- Children:
- 2486f460fbcdd44c72acea7779937ed446323e1f
- Parents:
- 7c7d2697b29c975a9f58a4232aedffacdabc13ec
- Location:
- factory
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_char.cc
r7c7d26 r7fdedf 18 18 #include "cf_util.h" 19 19 #include "int_pp.h" 20 21 #ifdef HAVE_FLINT 22 #include "FLINTconvert.h" // for __FLINT_RELEASE 23 #endif 20 24 21 25 STATIC_VAR int theCharacteristic = 0; … … 44 48 } 45 49 46 #if !defined(HAVE_NTL) && !defined(HAVE_FLINT) 50 #if !defined(HAVE_NTL) 51 #if !defined(HAVE_FLINT) || (__FLINT_RELEASE==20600) 47 52 void setCharacteristic( int c, int n ) 48 53 { … … 52 57 CFFactory::settype( PrimePowerDomain ); 53 58 } 59 #endif 54 60 #endif 55 61 -
factory/cf_util.h
r7c7d26 r7fdedf 4 4 #define INCL_CF_UTIL_H 5 5 6 // #include "config.h"6 #include "globaldefs.h" 7 7 8 8 int ilog2 (int a); -
factory/facBivar.cc
r7c7d26 r7fdedf 16 16 17 17 #include "cf_assert.h" 18 #include "cf_util.h" 18 19 #include "debug.h" 19 20 #include "timing.h" … … 553 554 ZZ NTLD= discriminant (NTLmipo); 554 555 den= abs (convertZZ2CF (NTLD*NTLf)); 556 #else 557 factoryError("NTL/FLINT missing: biFactorize"); 555 558 #endif 556 559 … … 572 575 #elif defined(HAVE_NTL) 573 576 CanonicalForm discMipo= convertZZ2CF (NTLD); 577 #else 578 factoryError("NTL/FLINT missing: biFactorize"); 574 579 #endif 575 580 findGoodPrime (F*discMipo,i); -
factory/facFqBivar.cc
r7c7d26 r7fdedf 22 22 23 23 #include "cf_assert.h" 24 #include "cf_util.h" 24 25 #include "debug.h" 25 26 #include "timing.h" … … 841 842 BuildIrred (NTLIrredpoly, i*m); 842 843 CanonicalForm newMipo= convertNTLzzpX2CF (NTLIrredpoly, Variable (1)); 844 #else 845 factoryError("NTL/FLINT missing: chooseExtension"); 843 846 #endif 844 847 return rootOf (newMipo); -
factory/facFqSquarefree.cc
r7c7d26 r7fdedf 258 258 buffer= pthRoot (A, q, alpha); 259 259 } 260 #else 261 factoryError("NTL/FLINT missing: squarefreeFactorization"); 260 262 #endif 261 263 -
factory/fac_cantzass.cc
r7c7d26 r7fdedf 14 14 #include "gmpext.h" 15 15 16 #if !defined(HAVE_FLINT) && !defined(HAVE_NTL) 16 #ifdef HAVE_FLINT 17 #include"FLINTconvert.h" 18 #endif 19 20 #if !defined(HAVE_NTL) 21 #if !defined(HAVE_FLINT)||(__FLINT_RELEASE==20600) 17 22 static CanonicalForm randomPoly( int n, const Variable & x, const CFRandom & gen ); 18 23 … … 292 297 } 293 298 #endif 299 #endif -
factory/fac_sqrfree.cc
r7c7d26 r7fdedf 11 11 #include "cf_map.h" 12 12 #include "cf_algorithm.h" 13 14 #ifdef HAVE_FLINT 15 #include "FLINTconvert.h" // for __FLINT_RELEASE 16 #endif 13 17 14 18 static int … … 150 154 } 151 155 152 #if !defined(HAVE_NTL) && !defined(HAVE_FLINT) 156 #if !defined(HAVE_NTL) 157 #if !defined(HAVE_FLINT)||(__FLINT_RELEASE==20600) 153 158 static int divexp = 1; 154 159 … … 206 211 } 207 212 #endif 213 #endif -
factory/fac_univar.cc
r7c7d26 r7fdedf 20 20 #include "cfUnivarGcd.h" 21 21 22 #if !defined(HAVE_NTL) && !defined(HAVE_FLINT) 22 #ifdef HAVE_FLINT 23 #include "FLINTconvert.h" // for __FLINT_RELEASE 24 #endif 25 26 #if !defined(HAVE_NTL) 27 #if !defined(HAVE_FLINT) || (__FLINT_RELEASE==20600) 23 28 TIMING_DEFINE_PRINT(fac_choosePrimes) 24 29 TIMING_DEFINE_PRINT(fac_facModPrimes) … … 565 570 } 566 571 #endif 572 #endif -
factory/int_pp.cc
r7c7d26 r7fdedf 13 13 #include "imm.h" 14 14 15 #if !defined(HAVE_NTL) && !defined(HAVE_FLINT) 15 #ifdef HAVE_FLINT 16 #include "FLINTconvert.h" 17 #endif 18 19 #if !defined(HAVE_NTL) 20 #if !defined(HAVE_FLINT)||(__FLINT_RELEASE==20600) 16 21 GLOBAL_VAR mpz_t InternalPrimePower::primepow; 17 22 GLOBAL_VAR mpz_t InternalPrimePower::primepowhalf; … … 410 415 //}}} 411 416 #endif 417 #endif
Note: See TracChangeset
for help on using the changeset viewer.