From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 109fba,4873305131bf4d94 X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,4873305131bf4d94 X-Google-Attributes: gid1014db,public X-Google-Thread: 103376,4873305131bf4d94 X-Google-Attributes: gid103376,public From: "Dann Corbit" Subject: Re: Porting Experiences (was Ada and Pascal etc ) Date: 1997/11/05 Message-ID: <63qkee$e34$1@client2.news.psi.net>#1/1 X-Deja-AN: 288118131 References: <345E3ACD.A15@gsg.eds.com> <878648818snz@genesis.demon.co.uk> <345F9728.D61@gsg.eds.com> <63p2g1$vnt$1@helios.crest.nt.com> <3460CF02.3C99@ccgate.hac.com> X-MimeOLE: Produced By Microsoft MimeOLE V4.71.1712.3 Organization: PSINet Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++ Date: 1997-11-05T00:00:00+00:00 List-Id: Chris Brand wrote in message <3460CF02.3C99@ccgate.hac.com>... [snip] >So, Lawrance Kirby claims that -2147483647 to 2147483647 will fit in a >long, while you claim that you can only rely on -2^31+1 to 2^31-1. 2^31 = 2147483648 -2^31+1 = -2147483647 2^31 - 1 = 2147483647 You get a question mark ?