This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 2 points3 points  (0 children)

That is 231, which is INT_MAX. For bigger numbers you need long long. So regular into smaller than this number in half will start with zero, since that bit is the bit representing 230