-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcddtype.h
37 lines (31 loc) · 1014 Bytes
/
cddtype.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/* cddtype.h: Arithmetic type header file for cdd.C
written by Komei Fukuda, [email protected]
Version 0.77, August 19, 2003
*/
/* cdd.C : C++-Implementation of the double description method for
computing all vertices and extreme rays of the polyhedron
P= {x : b - A x >= 0}.
Please read COPYING (GNU General Public Licence) and
the manual cddman.tex for detail.
*/
#ifdef GMP
// using GMP wrapper of Polymake ([email protected])
#include <Rational.h>
#else
// using GNU g++ lib Rational library
#include <Rational.h>
#endif // GMP
#ifdef RATIONAL
#define ZERO 0
#define OUTPUTDIGITS 0
#else
#define ZERO 1.E-6
#define OUTPUTDIGITS 8
#endif // RATIONAL
/* ZERO is the default value for the sign recognition.
This should not be modified. It can be controlled by
float_zero option with caution.
OUTPUTDIGITS is the number of decimal digits for each floating
point output. It can be controlled by output_digits option with caution.
*/
/* end of cddtype.h */