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

Function sqr

gecode/float/val.hpp:372–375  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

370 return FloatVal(sqrt(x.x));
371 }
372 forceinline FloatVal
373 sqr(const FloatVal& x) {
374 return FloatVal(square(x.x));
375 }
376 forceinline FloatVal
377 pow(const FloatVal& x, int n) {
378 return FloatVal(pow(x.x,n));

Callers 12

postMethod · 0.50
extendAssignmentMethod · 0.50
postMethod · 0.50
postMethod · 0.50
postMethod · 0.50
postMethod · 0.50
postMethod · 0.50
CartesianHeartMethod · 0.50
DescartesFoliumMethod · 0.50
PartitionMethod · 0.50
postMethod · 0.50
propagateMethod · 0.50

Calls 2

FloatValClass · 0.85
squareFunction · 0.85

Tested by

no test coverage detected