spielwiese
Last change
on this file since 62347d was
62347d,
checked in by Hans Schoenemann <hannes@…>, 5 years ago
|
add: switches for Flints gcd (char0/p)
|
-
Property mode set to
100644
|
File size:
726 bytes
|
Line | |
---|
1 | /* emacs edit mode for this file is -*- C++ -*- */ |
---|
2 | |
---|
3 | /** |
---|
4 | * |
---|
5 | * @file cf_switches.cc |
---|
6 | * |
---|
7 | * definition of class CFSwitches. |
---|
8 | * |
---|
9 | * Used by: cf_globals.cc |
---|
10 | * |
---|
11 | **/ |
---|
12 | |
---|
13 | |
---|
14 | #include "config.h" |
---|
15 | |
---|
16 | |
---|
17 | #include "cf_defs.h" |
---|
18 | #include "cf_switches.h" |
---|
19 | |
---|
20 | /** CFSwitches::CFSwitches () |
---|
21 | * |
---|
22 | * CFSwitches::CFSwitches() - default constructor. |
---|
23 | * |
---|
24 | * Turns all switches off. |
---|
25 | * |
---|
26 | **/ |
---|
27 | CFSwitches::CFSwitches () |
---|
28 | { |
---|
29 | for ( int i = 0; i < CFSwitchesMax; i++ ) |
---|
30 | switches[i] = false; |
---|
31 | // and set the default (recommended) On-values: |
---|
32 | #ifdef HAVE_NTL |
---|
33 | On(SW_USE_CHINREM_GCD); |
---|
34 | //Off(SW_USE_NTL_SORT); |
---|
35 | On(SW_USE_FL_GCD_P); |
---|
36 | //On(SW_USE_FL_GCD_0); |
---|
37 | #endif |
---|
38 | On(SW_USE_EZGCD); |
---|
39 | On(SW_USE_EZGCD_P); |
---|
40 | On(SW_USE_QGCD); |
---|
41 | } |
---|
42 | |
---|
43 | INST_VAR CFSwitches cf_glob_switches; |
---|
44 | |
---|
Note: See
TracBrowser
for help on using the repository browser.