source: git/factory/cf_defs.h @ 82db91a

spielwiese
Last change on this file since 82db91a 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
RevLine 
[493c477]1/* emacs edit mode for this file is -*- C++ -*- */
[341696]2/* $Id$ */
[2dd068]3
4#ifndef INCL_CF_DEFS_H
[b47a61]5#define INCL_CF_DEFS_H
[2dd068]6
[e4fe2b]7// #include "config.h"
[c6be2f]8
[2dd068]9/*BEGINPUBLIC*/
10
[995f1c]11#define LEVELBASE -1000000
12#define LEVELTRANS -500000
13#define LEVELQUOT 1000000
14#define LEVELEXPR 1000001
[2dd068]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
[257f75]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;
[49f1f45]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;
[0349c20]43const int SW_USE_QGCD=14;
44const int SW_USE_fieldGCD=15;
45const int SW_USE_FF_MOD_GCD=16;
[257f75]46//}}}
[2dd068]47
48/*ENDPUBLIC*/
49
[493c477]50#endif /* ! INCL_CF_DEFS_H */
Note: See TracBrowser for help on using the repository browser.