6 FunctionOperator::FunctionOperator(ArithOp _op, Set **domain, uint numDomain, Set *_range, OverFlowBehavior _overflowbehavior) : Function(OPERATORFUNC), op(_op), domains(domain, numDomain), range(_range), overflowbehavior(_overflowbehavior) {
9 FunctionTable::FunctionTable (Table *_table, UndefinedBehavior _undefBehavior) : Function(TABLEFUNC), table(_table), undefBehavior(_undefBehavior) {
12 uint64_t FunctionOperator::applyFunctionOperator(uint numVals, uint64_t *values) {
16 return values[0] + values[1];
19 return values[0] - values[1];
26 bool FunctionOperator::isInRangeFunction(uint64_t val) {
27 return range->exists(val);