mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
optimizations, fixes, TODO items
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
444084f396
commit
6478e789e9
6 changed files with 87 additions and 28 deletions
|
@ -339,7 +339,12 @@ public:
|
|||
|
||||
static rational power_of_two(unsigned k);
|
||||
|
||||
bool is_power_of_two(unsigned & shift) {
|
||||
bool is_power_of_two(unsigned & shift) const {
|
||||
return m().is_power_of_two(m_val, shift);
|
||||
}
|
||||
|
||||
bool is_power_of_two() const {
|
||||
unsigned shift = 0;
|
||||
return m().is_power_of_two(m_val, shift);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue