mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
parent
07dcb0a98b
commit
c36d9f7b3e
5 changed files with 164 additions and 59 deletions
|
@ -822,3 +822,8 @@ func_decl* arith_util::mk_div0() {
|
|||
sort* rs[2] = { mk_real(), mk_real() };
|
||||
return m_manager.mk_func_decl(m_afid, OP_DIV0, 0, nullptr, 2, rs, mk_real());
|
||||
}
|
||||
|
||||
func_decl* arith_util::mk_idiv0() {
|
||||
sort* rs[2] = { mk_int(), mk_int() };
|
||||
return m_manager.mk_func_decl(m_afid, OP_IDIV0, 0, nullptr, 2, rs, mk_int());
|
||||
}
|
||||
|
|
|
@ -368,6 +368,7 @@ public:
|
|||
sort * mk_real() { return m_manager.mk_sort(m_afid, REAL_SORT); }
|
||||
|
||||
func_decl* mk_div0();
|
||||
func_decl* mk_idiv0();
|
||||
|
||||
|
||||
app * mk_numeral(rational const & val, bool is_int) const {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue