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

Function pow

gecode/float/val.hpp:376–379  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

374 return FloatVal(square(x.x));
375 }
376 forceinline FloatVal
377 pow(const FloatVal& x, int n) {
378 return FloatVal(pow(x.x,n));
379 }
380 forceinline FloatVal
381 nroot(const FloatVal& x, int n) {
382 return FloatVal(nth_root(x.x,n));

Callers 15

CountableSetMethod · 0.50
initMethod · 0.50
solutionMethod · 0.50
postMethod · 0.50
solutionMethod · 0.50
extendAssignmentMethod · 0.50
postMethod · 0.50
solutionMethod · 0.50
postMethod · 0.50
postMethod · 0.50
postMethod · 0.50
postMethod · 0.50

Calls 1

FloatValClass · 0.85

Tested by

no test coverage detected