Path: 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 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