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

Method getFloat

gecode/flatzinc/ast.hh:451–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

449 throw TypeError("bool literal expected");
450 }
451 inline double
452 Node::getFloat(void) {
453 if (FloatLit* a = dynamic_cast<FloatLit*>(this))
454 return a->d;
455 throw TypeError("float literal expected");
456 }
457 inline SetLit*
458 Node::getSet(void) {
459 if (SetLit* a = dynamic_cast<SetLit*>(this))

Callers 7

yyparseFunction · 0.80
createBranchersMethod · 0.80
arg2floatargsMethod · 0.80
arg2floatvarargsMethod · 0.80
arg2FloatVarMethod · 0.80
p_float_lin_cmpFunction · 0.80
p_float_lin_cmp_reifFunction · 0.80

Calls 1

TypeErrorFunction · 0.85

Tested by

no test coverage detected