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

Function p_float_sqrt

gecode/flatzinc/registry.cpp:2270–2274  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2268 }
2269
2270 void p_float_sqrt(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2271 FloatVar x = s.arg2FloatVar(ce[0]);
2272 FloatVar y = s.arg2FloatVar(ce[1]);
2273 sqrt(s,x,y);
2274 }
2275
2276 void p_float_abs(FlatZincSpace& s, const ConExpr& ce, AST::Node*) {
2277 FloatVar x = s.arg2FloatVar(ce[0]);

Callers

nothing calls this directly

Calls 2

arg2FloatVarMethod · 0.80
sqrtFunction · 0.50

Tested by

no test coverage detected