MCPcopy Create free account
hub / github.com/Gecode/gecode / p_float_plus

Function p_float_plus

gecode/flatzinc/registry.cpp:2263–2268  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2261 }
2262
2263 void p_float_plus(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2264 FloatVar x = s.arg2FloatVar(ce[0]);
2265 FloatVar y = s.arg2FloatVar(ce[1]);
2266 FloatVar z = s.arg2FloatVar(ce[2]);
2267 rel(s,x+y==z);
2268 }
2269
2270 void p_float_sqrt(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2271 FloatVar x = s.arg2FloatVar(ce[0]);

Callers

nothing calls this directly

Calls 2

arg2FloatVarMethod · 0.80
relFunction · 0.50

Tested by

no test coverage detected