Article View: comp.std.c
Article #4736Re: size_t
From: Chris Ebenezer
Date: Thu, 01 Feb 1996 12:33
Date: Thu, 01 Feb 1996 12:33
18 lines
931 bytes
931 bytes
Steve Clamage (clamage@Eng.Sun.COM) wrote:
: Example: A system has a 48-bit address space and 48-bit pointers, but does
: not have a 48-bit integer type. (The integer types are 8, 16, 32, and
: maybe 64 bits.) Suppose the implementation predefined an unsigned 48-bit
: type "__ptrsize", and size_t was typedef'd to be __ptrsize.
Well, an implementation is free to represent int with 48 bits. All thats
guarenteed is that :
long >= 32bits; short >= 16 bits
and
short <= int <= long
Maybe someone would care to correct me on this.
Chris.
--
Technical Details
Message-ID:
<4eqbv0$ckd@badger.wmin.ac.uk>Path:
arc1-ca.pugleaf.net!ux211.wmin.ac.uk!ncfeeReferences:
<4eiua2$9u@engnews1.Eng.Sun.COM>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!ux211.wmin.ac.uk!ncfee From: ncfee@westminster.ac.uk (Chris Ebenezer) Newsgroups: comp.std.c Subject: Re: size_t Date: 1 Feb 1996 12:33:36 GMT Organization: University of Westminster Message-ID: <4eqbv0$ckd@badger.wmin.ac.uk> References: <4eiua2$9u@engnews1.Eng.Sun.COM> NNTP-Posting-Host: ux211.wmin.ac.uk X-Newsreader: TIN [version 1.2 PL2]