limits.hh File Reference
(Revision: 3516)
#include <climits>
#include <cfloat>
Go to the source code of this file.
Namespaces | |
namespace | Gecode |
namespace | Gecode::Limits |
namespace | Gecode::Limits::Int |
namespace | Gecode::Limits::Set |
Variables | |
const int | Gecode::Limits::Int::int_max = ((INT_MAX)>>1) - 1 |
Largest allowed integer value. | |
const int | Gecode::Limits::Int::int_min = -int_max |
Smallest allowed integer value. | |
const double | Gecode::Limits::Int::double_max = 9007199254740991.0 |
Largest double that can exactly be represented. | |
const double | Gecode::Limits::Int::double_min = -9007199254740991.0 |
Smallest double that can exactly be represented. | |
const int | Gecode::Limits::Set::int_max = ((INT_MAX)>>2) - 1 |
Largest allowed integer in integer set. | |
const int | Gecode::Limits::Set::int_min = -int_max |
Smallest allowed integer in integer set. | |
const unsigned int | Gecode::Limits::Set::card_max = int_max-int_min+1 |
Maximum cardinality of an integer set. |