int16, int32

Harry W. Reed doon at sdcrdcf.UUCP
Fri Aug 16 01:32:52 AEST 1985


In article <2620 at sun.uucp> guy at sun.uucp (Guy Harris) writes:
>> >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

Hi:
	The Harris H800 (etc) implementation of 'C' uses 24-bit integers.
I've worked on a Harris for about 2 years and I must say that it has a 
VERY NASTY machine architecture. Gimme a VAX or a 32000 any day!!!


	Harry Reed



More information about the Comp.lang.c mailing list