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

Function abs

gecode/float/val.hpp:364–367  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

362 }
363
364 forceinline FloatVal
365 abs(const FloatVal& x) {
366 return FloatVal(abs(x.x));
367 }
368 forceinline FloatVal
369 sqrt(const FloatVal& x) {
370 return FloatVal(sqrt(x.x));

Callers 15

setupMethod · 0.50
constrainMethod · 0.50
extendAssignmentMethod · 0.50
solutionMethod · 0.50
postMethod · 0.50
solutionMethod · 0.50
postMethod · 0.50
solutionMethod · 0.50
solutionMethod · 0.50
solutionMethod · 0.50
postMethod · 0.50
postMethod · 0.50

Calls 1

FloatValClass · 0.85

Tested by

no test coverage detected