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

Function pow

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

Source from the content-addressed store, hash-verified

490 }
491
492 LinFloatExpr
493 pow(const LinFloatExpr& e, int exp) {
494 using namespace MiniModel;
495 ArithNonLinFloatExpr* ae =
496 new ArithNonLinFloatExpr(ArithNonLinFloatExpr::ANLFE_POW,1,exp);
497 ae->a[0] = e;
498 return LinFloatExpr(ae);
499 }
500
501 LinFloatExpr
502 nroot(const LinFloatExpr& e, int exp) {

Callers 1

postFunction · 0.70

Calls 1

LinFloatExprClass · 0.85

Tested by

no test coverage detected