sizeof in 36-bits machines

Karl Heuer karl at haddock.ima.isc.com
Fri Oct 13 11:51:01 AEST 1989


In article <272 at ssp1.idca.tds.philips.nl> dolf at idca.tds.PHILIPS.nl (Dolf Grunbauer) writes:
>Assuming a 36-bit integer (e.g. DEC-10 :-) and 8-bit bytes...

No.  Objects must be composed of bytes; if the word size is 36, the only valid
byte sizes are {9, 12, 18, 36}.  In fact, this is an explicit example in the
Rationale document.

(An alternative would be to emulate a 32-bit implementation by always
discarding the upper four bits.)

Karl W. Z. Heuer (ima!haddock!karl or karl at haddock.isc.com), The Walking Lint



More information about the Comp.std.c mailing list