Path: utzoo!utgpu!water!watmath!clyde!att!osu-cis!tut.cis.ohio-state.edu!rutgers!bellcore!tness7!tness1!sugar!ficc!peter From: peter@ficc.uu.net (Peter da Silva) Newsgroups: comp.lang.c Subject: Re: Absolute size of 'short' Message-ID: <1382@ficc.uu.net> Date: 29 Aug 88 14:43:21 GMT References: <214@ISIDAPS5.UUCP> <9641@dartvax.Dartmouth.EDU> <62505@sun.uucp> <625@proxftl.UUCP> Organization: SCADA Lines: 21 In article <625@proxftl.UUCP>, bill@proxftl.UUCP (T. William Wells) writes: > In article <11941@steinmetz.ge.com> davidsen@crdos1.UUCP (bill davidsen) writes about 'int*6' as a portable declaration for a 6 byte integer. > That might be a good idea: allow an [unsigned] int*size (which > should be in bits since the standard defines things in terms of > bits) which, if the size is greater than 32 bits, is ...? The Make it 'int:size' to provide textual consitency with bit-feilds. Also, it shuld be signed. If you want an unsigned, make it 'unsigned int:size'. > The best way to get this is for some compiler writers to put it > into their compiler. I put something like it into Small-C once, but nobody but me ever saw it. I wanna say 'int:9 color' or 'int color:9' and only use up one byte on a Honeywell or Sperry. -- Peter da Silva `-_-' Ferranti International Controls Corporation. "Have you hugged U your wolf today?" peter@ficc.uu.net