Closed rapiz1 closed 3 years ago
Use 1ull in shifting to avoid undefined behavior
If users call the original BITMASK(32), the result is undefined. See also https://stackoverflow.com/questions/2648764/whats-bad-about-shifting-a-32-bit-variable-32-bits
Use 1ull in shifting to avoid undefined behavior
If users call the original BITMASK(32), the result is undefined. See also https://stackoverflow.com/questions/2648764/whats-bad-about-shifting-a-32-bit-variable-32-bits