3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 17:15:31 +00:00

Added alternative way of calculating number of trailing zeros + hamming distance

This commit is contained in:
Clemens Eisenhofer 2022-11-20 17:25:04 +01:00
parent 98d572b48b
commit 4f4d56eb91
3 changed files with 76 additions and 8 deletions

View file

@ -55,6 +55,8 @@ public:
explicit rational(double z) { UNREACHABLE(); }
explicit rational(char const * v) { m().set(m_val, v); }
explicit rational(unsigned const * v, unsigned sz) { m().set(m_val, sz, v); }
struct i64 {};
rational(int64_t i, i64) { m().set(m_val, i); }