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=-1.2 required=5.0 tests=BAYES_00,INVALID_MSGID, PLING_QUERY 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 X-Google-Thread: fdb77,4873305131bf4d94 X-Google-Attributes: gidfdb77,public From: seebs@plethora.net (Peter Seebach) Subject: Re: How big is an int? (was: Yet another stupid language war (was: ... the only languages you need!!)) Date: 1997/11/05 Message-ID: <63qkp9$bqr$3@darla.visi.com>#1/1 X-Deja-AN: 287244079 References: <34557f2b.1934172@news.mindspring.com> <345F49A2.5F5DC5A0@aom.ericsson.se> <63oadj$ljc$1@helios.crest.nt.com> Organization: Plethora Internet NNTP-Posting-Date: 05 Nov 1997 14:26:17 CST Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.java.advocacy,comp.lang.c,comp.lang.c++ Date: 1997-11-05T14:26:17-06:00 List-Id: In article , wrote: >Nor have you. The definitions are as follows. >short <= int <= long >short < long >short > char No. Short is not required to be any smaller than long, nor any larger than char. A system where all four types are 64-bits is conforming. >If your system does not conform to this, it isn't ISO (I thinhk it was ISO) >compliant. This would be true if you used always <= and >= operators in your table. The "minimum maxima" given by the standard hold on all systems. Whether your system's native word size is 8 bits or 128 bits, a long must have at *least* a 32-bit range. -s -- seebs@plethora.net -- Speaking for myself. No spam please. Copyright 1997. All rights reserved. This was not written by my cat. C/Unix wizard - send mail for help! -- - More Net, Less Spam!