Skip to content

Commit

Permalink
Update util.h (#7169)
Browse files Browse the repository at this point in the history
  • Loading branch information
cctv130 committed Mar 18, 2024
1 parent b8a6998 commit 1836590
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ static inline unsigned get_num_1bits(uint64_t v) {
v = (v + (v >> 4)) & 0x0F0F0F0F0F0F0F0F;
uint64_t r = (v * 0x0101010101010101) >> 56;
SASSERT(c == r);
return r;
#endif
}

Expand Down

0 comments on commit 1836590

Please sign in to comment.