I have a large binary vector that I would like to enter hardcoded in a C-file, as an array of longs. My question is: what is the easiest way to do this? Is there something like uint64_t b = 0xb01111111011100001011100001011011;
to convert the 01111111011100001011100001011011 from 64 bits to 1 long containing them? Or how should I do this?
(I need to do XOR/popcnt operations on such bitvectors, so they should be preserved exactly.)