Xref: utzoo comp.lang.c:6303 comp.sys.m68k:659 Path: utzoo!utgpu!water!watmath!clyde!bellcore!faline!ulysses!allegra!princeton!udel!gatech!purdue!umd5!brl-adm!brl-smoke!gwyn From: gwyn@brl-smoke.UUCP Newsgroups: comp.lang.c,comp.sys.m68k Subject: Re: C machine Message-ID: <7109@brl-smoke.ARPA> Date: 16 Jan 88 08:47:41 GMT References: <461@auvax.UUCP> <9961@mimsy.UUCP> <166@teletron.UUCP> <6936@brl-smoke.ARPA> <147@ateng.UUCP> <39aca826.7f32@apollo.uucp> <7092@brl-smoke.ARPA> <708@umbc3.UMD.EDU> Reply-To: gwyn@brl.arpa (Doug Gwyn (VLD/VMB) ) Organization: Ballistic Research Lab (BRL), APG, MD. Lines: 9 Posted: Sat Jan 16 03:47:41 1988 In article <708@umbc3.UMD.EDU> alex@umbc3.UMD.EDU (Alex S. Crain) writes: >Fix? How pray tell would you fix it? make it machine dependent? or just >arbitrary? It should be obvious what to do if you think about it. First, only pointers into the same object can meaningfully be subtracted. Second, the result of the subtraction necessarily has implementation- defined signed integral type; there is a typedef ptrdiff_t in .