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

Function sqrt

gecode/minimodel/float-arith.cpp:483–490  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

481 }
482
483 LinFloatExpr
484 sqrt(const LinFloatExpr& e) {
485 using namespace MiniModel;
486 ArithNonLinFloatExpr* ae =
487 new ArithNonLinFloatExpr(ArithNonLinFloatExpr::ANLFE_SQRT,1);
488 ae->a[0] = e;
489 return LinFloatExpr(ae);
490 }
491
492 LinFloatExpr
493 pow(const LinFloatExpr& e, int exp) {

Callers 1

postFunction · 0.70

Calls 1

LinFloatExprClass · 0.85

Tested by

no test coverage detected