Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn From: gwyn@smoke.BRL.MIL (Doug Gwyn) Newsgroups: comp.std.c Subject: Re: short vs. long Message-ID: <10303@smoke.BRL.MIL> Date: 22 May 89 11:30:20 GMT References: <11763@well.UUCP> Reply-To: gwyn@brl.arpa (Doug Gwyn) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 9 In article <11763@well.UUCP> markg@well.UUCP (Mark Grand) writes: >The current draft of the standard does not require that the sizeof short is >less than or equal to the sizeof int; nor that sizeof int is less than or >equal to sizeof long. Sure it does. "In the list of signed integer types above, the range of values of each type is a subrange of the values of the next type in the list." This requirement can be combined with other constraints on the behavior of integers to deduce the relations between their sizeof sizes.