13 return (1ul << n) - 1;
27 uint64_t t = (v | (v - 1)) + 1;
28 return t | ((((t & -t) / (v & -v)) >> 1) - 1);
uint64_t nextBitPermutation(uint64_t v)
The next bit permutation in a lexicographical sense.
uint64_t smallestIntWithNBitsSet(uint64_t n)
#define STORM_LOG_ASSERT(cond, message)