Im trying to determine if a power of two is part of a sum (represented by a double). Using a bitwise And works up to a certain point, but then I get an overflow. How can I get this to work with larger numbers?
This works: (2^29 + 2^30) And 2^30
Overflow: (2^29 + 2^31) And 2^30