[comp.arch] bit addressing

Chuck.Phillips@FtCollins.NCR.COM (Chuck.Phillips) (09/05/90)

>>>>> On 4 Sep 90 13:35:09 GMT, hp@vmars.tuwien.ac.at (Peter Holzer) said:
Peter> What should sizeof (bit) be? 0.125?

Good point.  How about bitsizeof(x) returning x's size in bits and
sizeof(x) returning ceiling(bitsizeof(x))?  Thus (hopefully) the semantics
of both malloc() and sizeof() can be preserved.
--
Chuck Phillips  MS440
NCR Microelectronics 			Chuck.Phillips%FtCollins.NCR.com
2001 Danfield Ct.
Ft. Collins, CO.  80525   		uunet!ncrlnk!ncr-mpd!bach!chuckp