3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 01:24:08 +00:00
This commit is contained in:
Nikolaj Bjorner 2022-12-09 08:50:46 -08:00
commit ee307dd84f

View file

@ -1463,7 +1463,7 @@ void mpz_manager<SYNCH>::bitwise_not(unsigned sz, mpz const & a, mpz & c) {
if (is_small(a) && sz <= 64) {
uint64_t v = ~get_uint64(a);
unsigned zero_out = 64 - sz;
v = (v >> zero_out) << zero_out;
v = (v << zero_out) >> zero_out;
set(c, v);
}
else {