[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)



In article <WnYu3.1310$pC1.95872@cac1.rdr.news.psi.ca>,
Spehro Pefhany  <speff@interlog.com> wrote:
>In comp.arch.embedded Peter Seebach <seebs@plethora.net> wrote:
>> But that's not all!  Each type must be able to represent a certain range
>> of values.  For 'short', that range is +/- 32,767.  For 'int', it is also
>> +/- 32,767.  For 'long', it is +/- 2,147,483,647, and you can't do that
>> without 32 bits.

>Can you give a reference for this? The number 32767 appears only twice in
>the 680 page C++ draft standard, the first is an example, and the second
>refers to the pre-processor. 

Can't speak for C++, but for C, I think it's in Translation Limits.

-s
-- 
Copyright 1999, All rights reserved.  Peter Seebach / seebs@plethora.net
C/Unix wizard, Pro-commerce radical, Spam fighter.  Boycott Spamazon!
Will work for interesting hardware.  http://www.plethora.net/~seebs/
Visit my new ISP <URL:http://www.plethora.net/> --- More Net, Less Spam!