spielwiese
Last change
on this file since c78743 was
c78743,
checked in by Martin Lee <martinlee84@…>, 10 years ago
|
chg: deleted SW_USE_NTL from cf_switches and misc_ip
|
-
Property mode set to
100644
|
File size:
798 bytes
|
Line | |
---|
1 | /* emacs edit mode for this file is -*- C++ -*- */ |
---|
2 | |
---|
3 | //{{{ docu |
---|
4 | // |
---|
5 | // cf_switches.cc - definition of class CFSwitches. |
---|
6 | // |
---|
7 | // Used by: cf_globals.cc, ftest/ftest_util.cc |
---|
8 | // |
---|
9 | //}}} |
---|
10 | |
---|
11 | #ifdef HAVE_CONFIG_H |
---|
12 | #include "config.h" |
---|
13 | #endif /* HAVE_CONFIG_H */ |
---|
14 | |
---|
15 | #include "cf_switches.h" |
---|
16 | #include "cf_defs.h" |
---|
17 | |
---|
18 | //{{{ CFSwitches::CFSwitches () |
---|
19 | //{{{ docu |
---|
20 | // |
---|
21 | // CFSwitches::CFSwitches() - default constructor. |
---|
22 | // |
---|
23 | // Turns all switches off. |
---|
24 | // |
---|
25 | //}}} |
---|
26 | CFSwitches::CFSwitches () |
---|
27 | { |
---|
28 | for ( int i = 0; i < CFSwitchesMax; i++ ) |
---|
29 | switches[i] = false; |
---|
30 | // and set the default (recommended) On-values: |
---|
31 | #ifdef HAVE_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 | } |
---|
41 | //}}} |
---|
Note: See
TracBrowser
for help on using the repository browser.