3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 01:25:31 +00:00

added stubs for theory_fpa

Signed-off-by: Christoph M. Wintersteiger <cwinter@microsoft.com>
This commit is contained in:
Christoph M. Wintersteiger 2014-04-23 20:10:53 +01:00
parent af0b823bf5
commit a8b65ebb36
6 changed files with 80 additions and 10 deletions

View file

@ -64,9 +64,7 @@ struct fpa2bv_rewriter_cfg : public default_rewriter_cfg {
}
bool max_steps_exceeded(unsigned num_steps) const {
cooperate("fpa2bv");
if (memory::get_allocation_size() > m_max_memory)
throw tactic_exception(TACTIC_MAX_MEMORY_MSG);
cooperate("fpa2bv");
return num_steps > m_max_steps;
}
@ -147,7 +145,7 @@ struct fpa2bv_rewriter_cfg : public default_rewriter_cfg {
default:
TRACE("fpa2bv", tout << "unsupported operator: " << f->get_name() << "\n";
for (unsigned i = 0; i < num; i++) tout << mk_ismt2_pp(args[i], m()) << std::endl;);
throw tactic_exception("NYI");
NOT_IMPLEMENTED_YET();
}
}