Go to the source code of this file.
◆ GECODE_ROUND_OP
#define GECODE_ROUND_OP |
( |
|
name | ) |
|
Value:
return RoundingBase::name##_down(
x,
y); \
} \
forceinline FloatNum \
return RoundingBase::name##_up(
x,
y); \
}
Node * x
Pointer to corresponding Boolean expression node.
double FloatNum
Floating point number base type.
Post propagator for SetVar SetOpType SetVar y
Definition at line 48 of file rounding.hpp.
◆ GECODE_ROUND_FUN
#define GECODE_ROUND_FUN |
( |
|
name | ) |
|
Value:
return RoundingBase::name##_down(
x); \
} \
forceinline FloatNum \
return RoundingBase::name##_up(
x); \
}
Definition at line 65 of file rounding.hpp.