source: git/factory/cf_switches.cc @ c770dc

spielwiese
Last change on this file since c770dc 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: 804 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2/* $Id$ */
3
4//{{{ docu
5//
6// cf_switches.cc - definition of class CFSwitches.
7//
8// Used by: cf_globals.cc, ftest/ftest_util.cc
9//
10//}}}
11
12#include "config.h"
13
14#include "cf_switches.h"
15#include "cf_defs.h"
16
17//{{{ CFSwitches::CFSwitches ()
18//{{{ docu
19//
20// CFSwitches::CFSwitches() - default constructor.
21//
22// Turns all switches off.
23//
24//}}}
25CFSwitches::CFSwitches ()
26{
27    for ( int i = 0; i < CFSwitchesMax; i++ )
28        switches[i] = false;
29// and set the default (recommended) On-values:
30#ifdef HAVE_NTL
31  On(SW_USE_NTL);
32  On(SW_USE_CHINREM_GCD);
33  //Off(SW_USE_NTL_GCD_0);
34  //Off(SW_USE_NTL_GCD_P);
35  //Off(SW_USE_NTL_SORT);
36#endif
37  On(SW_USE_EZGCD);
38  //On(SW_USE_EZGCD_P); // still testing
39  On(SW_USE_QGCD);
40  //On(SW_USE_fieldGCD);
41}
42//}}}
Note: See TracBrowser for help on using the repository browser.