tech-userlevel archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: using the interfaces in ctype.h
On Mon, Apr 21, 2008 at 06:09:07PM +0200, Alan Barrett wrote:
> Hang on, it's even worse than that. The C standard allows signed
> integers to have a representation other than two's complement. The
> result of (-1 & 0xff) on a one's complement machine will be 0xfe, not
> 0xff. NetBSD might not run on any one's complement machines, but I try
> to consider them when writing code that's intended to be portable.
I think that is the only point of this whole mail that classifies as
obscure :)
Joerg
Home |
Main Index |
Thread Index |
Old Index