Generated on for Gecode by doxygen 1.17.0
registry-float.cpp File Reference

Go to the source code of this file.

Namespaces

namespace  Gecode
 Gecode toplevel namespace
namespace  Gecode::FlatZinc
 Interpreter for the FlatZinc language.
namespace  Gecode::FlatZinc::RegistryDetail

Macros

#define P_FLOAT_OP(Op)

Functions

void Gecode::FlatZinc::RegistryDetail::register_float (Registry &r)

Macro Definition Documentation

◆ P_FLOAT_OP

#define P_FLOAT_OP ( Op)
Value:
void p_float_ ## Op (FlatZincSpace& s, const ConExpr& ce, AST::Node*) {\
FloatVar x = s.arg2FloatVar(ce[0]);\
FloatVar y = s.arg2FloatVar(ce[1]);\
Op(s,x,y);\
}

Definition at line 181 of file registry-float.cpp.