Path: utzoo!attcan!uunet!sdrc!scjones From: scjones@sdrc.UUCP (Larry Jones) Newsgroups: comp.lang.c Subject: Re: 64 bit ints Summary: Oops. Message-ID: <425@sdrc.UUCP> Date: 1 Nov 88 22:42:49 GMT References: <6264@june.cs.washington.edu> <225800084@uxe.cso.uiuc.edu> <8811@smoke.BRL.MIL> Organization: Structural Dynamics Research Corp., Cincinnati Lines: 25 In article <8811@smoke.BRL.MIL>, gwyn@smoke.BRL.MIL (Doug Gwyn ) writes: > In article <418@sdrc.UUCP> scjones@sdrc.UUCP (Larry Jones [me]) writes: > >The draft ANSI standard requires that int > >be the same size as either short or long; it may not be a third, > >distinct, size of integer. > > Where do you see that? Section 3.1.2.5 requires that an int be able to > hold all integers in the range INT_MIN to INT_MAX and that its range > be no less than that of short int and no more than that of long int. > Nowhere do I find a requirement that > sizeof(int)==sizeof(short)||sizeof(int)==sizeof(long). Well, shucks. I swear I remember a vote to that effect, but I'll be darned if I can find any trace of the requirement in the Draft either. Either I imagined it or it got lost somewhere -- the first seems most likely, I'm afraid. Sorry for any confusion I caused. ---- Larry Jones UUCP: uunet!sdrc!scjones SDRC scjones@sdrc.uucp 2000 Eastman Dr. BIX: ltl Milford, OH 45150 AT&T: (513) 576-2070 "Save the Quayles" - Mark Russell