int16, int32

Guy Harris guy at sun.uucp
Tue Aug 13 16:48:32 AEST 1985


> >In any case, most experienced C programmers will use "short" when 16
> >bits is known to suffice and "long" when 32 bits are needed.
> 
> (Mention of Sperry 1100 C with 18-bit "short"s and 36-bit "long"s).

In this case the above assumption is still reasonably good; what's two bits
between friends?  (Besides, what would $.25 buy you these days? :-))  24-bit
machines are trickier; 12 bits is too short for "short" (PDP-8 enthusiasts
nonwithstanding) and 48 bits is a bit long for a "long".  (Anybody know what
the Harris (no relation) 24-bit/48-bit machines' C implementations use?)

	Guy Harris



More information about the Comp.lang.c mailing list