🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #3667

Re: Why "long long" doesn't work.

#3667
From: Clive D.W. Feather
Date: Sun, 06 Aug 1995 11:37
21 lines
1365 bytes
In article <1995Jul26.032024.21888@sq.sq.com>,
Mark Brader <msb@sq.sq.com> wrote:
> On an implementation where the fastest integral type is also the widest,
> and this type is 8 bytes (and never mind what a byte is), implementers
> may desire to provide 2- and 4-byte integral types.  They don't have to
> shorten int to 4 bytes to do it, nor do they have to provide "long long".
> They can make everyone happy *this* way:
>
>	1 byte     char
>	2 bytes    short
>	4 bytes    __fourbyte /* implementation-defined extension */
>	8 bytes    int
>	8 bytes    long

Note that, on such a system, size_t, wchar_t, and ptrdiff_t cannot be 4
bytes.

-- 
Clive D.W. Feather                       | If you lie to the compiler,
clive@demon.net        (work, preferred) | it will get its revenge.
clive@stdc.demon.co.uk (home)            |   - Henry Spencer
Technical Details
Message-ID: <DCw0BC.Mz5@stdc.demon.co.uk>
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
References: <3uoqgu$sr9@newsbf02.news.aol.com> <9507242012.AA26685@mailhost.ElSegundoCA.ATTGIS.COM> <u9g2jvli9e.fsf@phydeaux.cygnus.com> <1995Jul26.032024.21888@sq.sq.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!stdc.demon.co.uk!clive
From: clive@stdc.demon.co.uk (Clive D.W. Feather)
Newsgroups: comp.std.c
Subject: Re: Why "long long" doesn't work.
Date: Sun, 6 Aug 1995 11:37:59 GMT
Organization: Demon Internet Limited (personal account)
Message-ID: <DCw0BC.Mz5@stdc.demon.co.uk>
References: <3uoqgu$sr9@newsbf02.news.aol.com> <9507242012.AA26685@mailhost.ElSegundoCA.ATTGIS.COM> <u9g2jvli9e.fsf@phydeaux.cygnus.com> <1995Jul26.032024.21888@sq.sq.com>
X-NNTP-Posting-Host: stdc.demon.co.uk