This commit is contained in:
2024-06-17 17:25:34 +02:00
parent bf6f739a90
commit 8015940f55

5
foo.h Normal file
View File

@@ -0,0 +1,5 @@
#define bit_for_each64_2(pos, tmp, ul) for (tmp = ul, pos = ffs64(tmp); pos; tmp &= (tmp - 1), pos = ffs64(tmp))
#define bit_for_each64(pos, tmp, ul) \
for (tmp = ul, pos = ffs64(tmp); pos; tmp &= (tmp - 1), pos = ffs64(tmp))
#define true 1