[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Compiler warnings when dealing with huge integers
- From: Sean Conner <sean@...>
- Date: Sun, 26 Jun 2016 06:23:58 -0400
It was thus said that the Great Sean Conner once stated:
>
> First issue---is this a 32-bit or 64-bit system? In a 32-bit system,
> values can exceed the normal signed range of -2147483648 .. 2147483647 and
> the unsigned range of 0 .. 4294967295. In a 64-bit system, things get ...
> wonky when the value exceeds 9007199254740992---you'll get "gaps" in values
> up to 9223372036854775807 (signed 64-bit) or 18446744073709551615 (unsigned
> 64-bit). Past that, I'm not sure what you'll get (could be 0, could be
> something else).
Drat! I forgot to delete this paragraph. Sigh.
-spc