11-02-2007, 09:07 AM
Just for the record, since Ints and Longs are signed, you have to get the last bit by:
Int: -(((2 ^ 16) / 2) - 1)
Long: -(((2 ^ 32) / 2) - 1)
I believe that is correct, anyways. :wink:
Int: -(((2 ^ 16) / 2) - 1)
Long: -(((2 ^ 32) / 2) - 1)
I believe that is correct, anyways. :wink: