mirror of
https://github.com/Z3Prover/z3
synced 2025-06-21 21:33:39 +00:00
fix #2836
This commit is contained in:
parent
1fff7bb51d
commit
a7dc50362b
4 changed files with 40 additions and 8 deletions
|
@ -838,3 +838,13 @@ 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());
|
||||
}
|
||||
|
||||
func_decl* arith_util::mk_rem0() {
|
||||
sort* rs[2] = { mk_int(), mk_int() };
|
||||
return m_manager.mk_func_decl(m_afid, OP_REM0, 0, nullptr, 2, rs, mk_int());
|
||||
}
|
||||
|
||||
func_decl* arith_util::mk_mod0() {
|
||||
sort* rs[2] = { mk_int(), mk_int() };
|
||||
return m_manager.mk_func_decl(m_afid, OP_MOD0, 0, nullptr, 2, rs, mk_int());
|
||||
}
|
||||
|
|
|
@ -367,8 +367,10 @@ public:
|
|||
sort * mk_int() { return m_manager.mk_sort(m_afid, INT_SORT); }
|
||||
sort * mk_real() { return m_manager.mk_sort(m_afid, REAL_SORT); }
|
||||
|
||||
func_decl* mk_rem0();
|
||||
func_decl* mk_div0();
|
||||
func_decl* mk_idiv0();
|
||||
func_decl* mk_mod0();
|
||||
func_decl* mk_ipower0();
|
||||
func_decl* mk_rpower0();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue