3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-08-25 12:35:59 +00:00

Add basic implementation of left shift

This commit is contained in:
Jakob Rath 2022-11-17 17:36:09 +01:00
parent 68707eefe7
commit adc9f7abe4
7 changed files with 121 additions and 14 deletions

View file

@ -307,6 +307,9 @@ namespace polysat {
/** Create expression for the logical right shift of p by q. */
pdd lshr(pdd const& p, pdd const& q) { return m_constraints.lshr(p, q); }
/** Create expression for the logical left shift of p by q. */
pdd shl(pdd const& p, pdd const& q) { return m_constraints.shl(p, q); }
/** Create expression for the bit-wise negation of p. */
pdd bnot(pdd const& p) { return m_constraints.bnot(p); }