Gecode::Limits::Int Namespace Reference
Detailed Description
Numerical limits for integer variables.The integer limits are chosen such that addition and subtraction of two values within the limits can be done safely without numerical overflow. Also, changing the sign is always possible without overflow.
Variables | |
const int | int_max = ((INT_MAX)>>1) - 1 |
Largest allowed integer value. | |
const int | int_min = -int_max |
Smallest allowed integer value. | |
const double | double_max = 9007199254740991.0 |
Largest double that can exactly be represented. | |
const double | double_min = -9007199254740991.0 |
Smallest double that can exactly be represented. |
Variable Documentation
|
Largest allowed integer value.
|
|
Smallest allowed integer value.
|
|
Largest double that can exactly be represented.
|
|
Smallest double that can exactly be represented.
|