source: git/factory/cf_defs.h @ e65b1a4

spielwiese
Last change on this file since e65b1a4 was e4fe2b, checked in by Oleksandr Motsak <motsak@…>, 13 years ago
FIX: Fixed huge BUG in cf_gmp.h CHG: starting to cleanup factory
  • Property mode set to 100644
File size: 1.0 KB
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2/* $Id$ */
3
4#ifndef INCL_CF_DEFS_H
5#define INCL_CF_DEFS_H
6
7// #include "config.h"
8
9/*BEGINPUBLIC*/
10
11#define LEVELBASE -1000000
12#define LEVELTRANS -500000
13#define LEVELQUOT 1000000
14#define LEVELEXPR 1000001
15
16#define UndefinedDomain 32000
17#define PrimePowerDomain 5
18#define GaloisFieldDomain 4
19#define FiniteFieldDomain 3
20#define RationalDomain 2
21#define IntegerDomain 1
22
23//{{{ constants
24//{{{ docu
25//
26// - factory switches.
27//
28//}}}
29const int SW_RATIONAL = 0;
30const int SW_QUOTIENT = 1;
31const int SW_SYMMETRIC_FF = 2;
32const int SW_BERLEKAMP = 3;
33const int SW_FAC_USE_BIG_PRIMES = 4;
34const int SW_FAC_QUADRATICLIFT = 5;
35const int SW_USE_EZGCD = 6;
36const int SW_USE_EZGCD_P = 7;
37const int SW_USE_SPARSEMOD = 8;
38const int SW_USE_NTL=9;
39const int SW_USE_NTL_GCD_0=10;
40const int SW_USE_NTL_GCD_P=11;
41const int SW_USE_NTL_SORT=12;
42const int SW_USE_CHINREM_GCD=13;
43const int SW_USE_QGCD=14;
44const int SW_USE_fieldGCD=15;
45const int SW_USE_FF_MOD_GCD=16;
46//}}}
47
48/*ENDPUBLIC*/
49
50#endif /* ! INCL_CF_DEFS_H */
Note: See TracBrowser for help on using the repository browser.