On 5/4/06, William A. Rowe, Jr. <[EMAIL PROTECTED]> wrote:
Colm MacCarthaigh wrote:
> Can we be sure that INT_MAX == 2GB ? What about I64 platforms like
> Alpha?
Signed int max would be 30^2 on IBM 390 native architectures, right Jeff?
You're thinking of pointers in the ever popular 31-bit addressing
mode, where the high order bit isn't significant. No such games with
ints, which don't vary in size between 31-bit addressing mode and
64-bit addressing mode:
/usr/include/limits.h: #define INT_MAX 2147483647
/usr/include/limits.h: #define UINT_MAX 4294967295U
--/--
Perhaps it was lost a couple of posts ago, but Joe's INT_MAX usage is
inside a Linux block and is needed only for a Linux "nuance".