source: git/ntl/src/DispSettings.c @ 54e84ca

fieker-DuValspielwiese
Last change on this file since 54e84ca was de6a29, checked in by Hans Schönemann <hannes@…>, 19 years ago
* hannes: NTL-5.4 git-svn-id: file:///usr/local/Singular/svn/trunk@8693 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.1 KB
Line 
1
2#include <NTL/ctools.h>
3
4#if (defined(NTL_STD_CXX) || defined(NTL_PSTD_NHF))
5#include <iostream>
6using namespace std;
7#else
8#include <iostream.h>
9#endif
10
11
12#define make_string_aux(x) #x
13#define make_string(x) make_string_aux(x)
14
15
16int main()
17{
18
19   cout << "\n\n";
20   cout << "Basic Configuration Options:\n";
21
22
23#ifdef NTL_STD_CXX
24   cout << "NTL_STD_CXX\n";
25#endif
26
27#ifdef NTL_PSTD_NNS
28   cout << "NTL_PSTD_NNS\n";
29#endif
30
31#ifdef NTL_PSTD_NHF
32   cout << "NTL_PSTD_NHF\n";
33#endif
34
35#ifdef NTL_PSTD_NTN
36   cout << "NTL_PSTD_NTN\n";
37#endif
38
39#ifdef NTL_GMP_LIP
40   cout << "NTL_GMP_LIP\n";
41#endif
42
43#ifdef NTL_GMP_HACK
44   cout << "NTL_GMP_HACK\n";
45#endif
46
47#ifdef NTL_LONG_LONG_TYPE
48   cout << "NTL_LONG_LONG_TYPE: ";
49   cout << make_string(NTL_LONG_LONG_TYPE) << "\n";
50#endif
51
52#ifdef NTL_UNSIGNED_LONG_LONG_TYPE
53   cout << "NTL_UNSIGNED_LONG_LONG_TYPE: ";
54   cout << make_string(NTL_UNSIGNED_LONG_LONG_TYPE) << "\n";
55#endif
56
57#ifdef NTL_CXX_ONLY
58   cout << "NTL_CXX_ONLY\n";
59#endif
60
61
62#ifdef NTL_X86_FIX
63   cout << "NTL_X86_FIX\n";
64#endif
65
66#ifdef NTL_NO_X86_FIX
67   cout << "NTL_NO_X86_FIX\n";
68#endif
69
70#ifdef NTL_NO_INIT_TRANS
71   cout << "NTL_NO_INIT_TRANS\n";
72#endif
73
74#ifdef NTL_CLEAN_INT
75   cout << "NTL_CLEAN_INT\n";
76#endif
77
78#ifdef NTL_CLEAN_PTR
79   cout << "NTL_CLEAN_PTR\n";
80#endif
81
82#ifdef NTL_RANGE_CHECK
83   cout << "NTL_RANGE_CHECK\n";
84#endif
85
86
87cout << "\n";
88cout << "Resolution of double-word types:\n";
89cout << make_string(NTL_LL_TYPE) << "\n";
90cout << make_string(NTL_ULL_TYPE) << "\n";
91
92
93cout << "\n";
94cout << "Performance Options:\n";
95
96#ifdef NTL_LONG_LONG
97   cout << "NTL_LONG_LONG\n";
98#endif
99
100#ifdef NTL_AVOID_FLOAT
101   cout << "NTL_AVOID_FLOAT\n";
102#endif
103
104#ifdef NTL_SPMM_UL
105   cout << "NTL_SPMM_UL\n";
106#endif
107
108
109#ifdef NTL_SPMM_ULL
110   cout << "NTL_SPMM_ULL\n";
111#endif
112
113
114#ifdef NTL_SPMM_ASM
115   cout << "NTL_SPMM_ASM\n";
116#endif
117
118
119
120
121#ifdef NTL_AVOID_BRANCHING
122   cout << "NTL_AVOID_BRANCHING\n";
123#endif
124
125
126
127#ifdef NTL_TBL_REM
128   cout << "NTL_TBL_REM\n";
129#endif
130
131
132#ifdef NTL_GF2X_ALTCODE
133   cout << "NTL_GF2X_ALTCODE\n";
134#endif
135
136
137#ifdef NTL_GF2X_ALTCODE1
138   cout << "NTL_GF2X_ALTCODE1\n";
139#endif
140
141
142#ifdef NTL_GF2X_NOINLINE
143   cout << "NTL_GF2X_NOINLINE\n";
144#endif
145
146   cout << "\n\n";
147
148   return 0;
149}
Note: See TracBrowser for help on using the repository browser.