From mboxrd@z Thu Jan 1 00:00:00 1970 From: erik quanstrom Date: Tue, 5 Jan 2016 13:03:43 -0800 To: 9fans@9fans.net Message-ID: <321164069abe6f4cf3ffa50700e88b60@lilly.quanstro.net> In-Reply-To: References: <8edba5d726ee6a032d8521c7de33f499@felloff.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Subject: Re: [9fans] subtracting pointers on amd64 6c Topicbox-Message-UUID: 7e75f516-ead9-11e9-9d60-3106f5b1d025 > since 6c is more commonly used now, and there's more interest or need, > it's probably best just to introduce the difference type and change > the result type. it's the same thing with usize. i'll see if i can > add some code to check for mismatches automatically. > > there are usable ANSI formats for the difference and sizeof types. i'm using usize, and its print modifier 'z' in 9atom. i haven't added 't' for ptrdiff, since it doesn't exist in the compilers. - erik