Main Page
Namespaces
Classes
Files
File List
File Members
include
GainType.h
Go to the documentation of this file.
1
#ifndef _GAINTYPE_H
2
#define _GAINTYPE_H
3
4
5
#define HAVE_LONG_LONG
6
/* Undefine if you don't have the long long type */
7
/* #undef HAVE_LONG_LONG */
8
9
#include <float.h>
10
#include <limits.h>
11
12
#ifdef HAVE_LONG_LONG
13
typedef
long
long
GainType
;
14
#ifndef LLONG_MAX
15
#define LLONG_MAX 9223372036854775807LL
16
#endif
17
#ifndef LLONG_MIN
18
#define LLONG_MIN (-LLONG_MAX - 1LL)
19
#endif
20
#define PLUS_INFINITY LLONG_MAX
21
#define MINUS_INFINITY LLONG_MIN
22
#define GainFormat "%lld"
23
#define GainInputFormat "%lld"
24
#else
25
typedef
double
GainType
;
26
#define PLUS_INFINITY DBL_MAX
27
#define MINUS_INFINITY -DBL_MAX
28
#define GainFormat "%0.0lf"
29
#define GainInputFormat "%0.0lf"
30
#endif
31
32
#endif
GainType
long long GainType
Definition:
GainType.h:13
glkh_solver
Author(s): Francisco Suarez-Ruiz
autogenerated on Mon Jun 10 2019 13:50:26