Date: Tue, 16 Dec 1997 16:34:51 -0600 (CST) From: geisler@ece.nwu.edu To: perhaps@yes.no (Eivind Eklund) Cc: freebsd-sparc@FreeBSD.ORG Subject: Bad assumptions Message-ID: <199712162234.QAA19192@chad.ece.nwu.edu> In-Reply-To: <86sort9b7z.fsf@bitbox.follo.net> from Eivind Eklund at "Dec 16, 97 11:25:52 pm"
next in thread | previous in thread | raw e-mail | index | archive | help
> 1. (void*)(int)(void*) is lossless AKA > Pointers can be stored in an int > 2. (void*)(long)(void*) is lossless AKA > Pointers can be stored in a long > 4. (void*)(any type*)(void*) is lossless AKA > Different pointer types are equal > 8. sizeof(int) == sizeof(long) > 16. sizeof(short)*CHAR_BIT == 16 > 32. sizeof(int)*CHAR_BIT == 32 > 64. sizeof(int) == 2*sizeof(short) > 128. sizeof(long) == 2*sizeof(short) 256. sizeof(long)*CHAR_BIT == 32 -- Jonathan Geisler --
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712162234.QAA19192>