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:
parent
68707eefe7
commit
adc9f7abe4
7 changed files with 121 additions and 14 deletions
|
@ -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); }
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue