🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.arch
Article #20778

Re: C pointers in longs (was Re: looking for >32-bit address space)

#20778
From: Bob Larson
Date: Sat, 15 Apr 1989 23:28
16 lines
1172 bytes
In article <11274@tekecs.GWD.TEK.COM> andrew@frip.wv.tek.com (Andrew Klossner) writes:

>But an int must still accommodate the result of subtracting two
	^^^ a signed integral type
>pointers into the same array, so, if you're going to permit arrays of
>more than 2GB, you'll need wider ints.
	   ^^^ 2G objects	  ^^^ signed integral type

Just becuse arrays of one byte objects are limited to 2GB does not mean
other arrays are limited to 2GB.

-- 
Bob Larson	Arpa: Blarson@Ecla.Usc.Edu	blarson@skat.usc.edu
Uucp: {sdcrdcf,cit-vax}!oberon!skat!blarson
Prime mailing list:	info-prime-request%ais1@ecla.usc.edu
			oberon!ais1!info-prime-request
Technical Details
Message-ID: <16553@oberon.USC.EDU>
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!elroy!aero!oberon!skat.usc.edu!blarson
References: <2569@elxsi.UUCP> <28200298@mcdurb> <1422@auspex.auspex.com> <11274@tekecs.GWD.TEK.COM>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!uunet!lll-winken!ames!elroy!aero!oberon!skat.usc.edu!blarson
From: blarson@skat.usc.edu (Bob Larson)
Newsgroups: comp.arch
Subject: Re: C pointers in longs (was Re: looking for >32-bit address space)
Message-ID: <16553@oberon.USC.EDU>
Date: 15 Apr 89 23:28:17 GMT
References: <2569@elxsi.UUCP> <28200298@mcdurb> <1422@auspex.auspex.com> <11274@tekecs.GWD.TEK.COM>
Sender: news@oberon.USC.EDU
Reply-To: blarson@skat.usc.edu (Bob Larson)
Organization: USC AIS, Los Angeles
Lines: 16