source: git/factory/cf_defs.h @ 194f5e5

spielwiese
Last change on this file since 194f5e5 was 257f75, checked in by Jens Schmidt <schmidt@…>, 27 years ago
* cf_defs.h (SW_RATIONAL, SW_QUOTIENT, SW_SYMMETRIC_FF, SW_BERLEKAMP, SW_FAC_USE_BIG_PRIMES, SW_FAC_QUADRATICLIFT, SW_USE_EZGCD, SW_USE_SPARSEMOD): #defines replaced by 'const int's git-svn-id: file:///usr/local/Singular/svn/trunk@582 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 828 bytes
Line 
1/* emacs edit mode for this file is -*- C++ -*- */
2/* $Id: cf_defs.h,v 1.6 1997-07-30 07:59:21 schmidt Exp $ */
3
4#ifndef INCL_CF_DEFS_H
5#define INCL_CF_DEFS_H
6
7#include <config.h>
8
9/*BEGINPUBLIC*/
10
11#define LEVELBASE -1000000
12#define LEVELTRANS -500000
13#define LEVELQUOT 1000000
14#define LEVELEXPR 1000001
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
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;
36const int SW_USE_SPARSEMOD = 7;
37//}}}
38
39/*ENDPUBLIC*/
40
41#endif /* ! INCL_CF_DEFS_H */
Note: See TracBrowser for help on using the repository browser.