It is possible to store the bit
pattern consisting of 32 ones as an int, but
Java will interpret that to mean "-1", because all numbers having the most significant bit set are negative.
I tried using long without success.
What does this mean? Have you tried:
long num = 0xffffffffl;
(That's a leading zero before the x, and a trailing lowercase letter L).
[ August 12, 2005: Message edited by: Ulf Dittmer ]