mirror of
https://github.com/Z3Prover/z3
synced 2025-06-15 10:26:16 +00:00
int64_t
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8565de2c5b
commit
bb53060313
1 changed files with 2 additions and 2 deletions
|
@ -58,8 +58,8 @@ Revision History:
|
||||||
#if defined(_AMD64_) && !defined(__GNUC__)
|
#if defined(_AMD64_) && !defined(__GNUC__)
|
||||||
#define _trailing_zeros64(x) _tzcnt_u64(x)
|
#define _trailing_zeros64(x) _tzcnt_u64(x)
|
||||||
#else
|
#else
|
||||||
inline uint64 _trailing_zeros64(uint64 x) {
|
inline uint64_t _trailing_zeros64(uint64_t x) {
|
||||||
uint64 r = 0;
|
uint64_t r = 0;
|
||||||
for (; 0 == (x & 1) && r < 64; ++r, x >>= 1);
|
for (; 0 == (x & 1) && r < 64; ++r, x >>= 1);
|
||||||
return r;
|
return r;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue