delorie.com/archives/browse.cgi | search |
Date: | Mon, 22 May 2000 23:14:15 -0400 |
Message-Id: | <200005230314.XAA01009@envy.delorie.com> |
From: | DJ Delorie <dj AT delorie DOT com> |
To: | djgpp AT delorie DOT com |
In-reply-to: | <1osjis87hetlomjooiv6prc0iev46cncdt@4ax.com> (message from Damian |
Yerrick on Tue, 23 May 2000 02:55:44 GMT) | |
Subject: | Re: C++, complex, etc |
References: | <0rneisomj48fm3khdpdodsilqpndjqd7do AT 4ax DOT com> <Pine DOT SUN DOT 3 DOT 91 DOT 1000522093304 DOT 22890H-100000 AT is> <1osjis87hetlomjooiv6prc0iev46cncdt AT 4ax DOT com> |
Reply-To: | djgpp AT delorie DOT com |
Errors-To: | nobody AT delorie DOT com |
X-Mailing-List: | djgpp AT delorie DOT com |
X-Unsubscribes-To: | listserv AT delorie DOT com |
> So ptrdiff_t == ssize_t? Ideally, ptrdiff_t would be one bit larger than ssize_t, and it would be signed. Unfortunately, the 386 doesn't have a 33-bit signed type, so we make do with a 32-bit signed type. Imaging ssize_t being 8 bits. Values are 0..255. Possible differences would range from 255 (255-0) to -255 (0-255), so there would be 511 possible values. You'd need 9 bits, signed, to hold that.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |