Bitwise inversion of 0 (Java in General forum at Coderanch)
This is not how complement arithmetic is defined, but it will give the same result. Use a calculator and find out what 2^7, 2^15, 2^31 and 2^63 mean, or look for the Integer, Long, Byte and Short classes, and