[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: not enough real programmers? (was Re: Byte Magazine: 18 Vintage issues, 1985-1986)
Spehro Pefhany posted:
> K & R says: "The intent is that 'short' and 'long' should provide
> different lengths of integers where practical; 'int' will normally reflect
> the most "natural" size for a particular machine. (...) each compiler is
> free to interpret 'short' and 'long' as appropriate for its own hardware.
> About all you should count on is that 'short' is no longer than 'long'.
And it used to be that you shouldn't make *any* assumptions on
size or range, but apparently this has changed.