[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: A question on version numbers

From: Michael Sweet <mike_at_easysw.com>
Date: 2004-09-29 16:57:14 CEST

kfogel@collab.net wrote:
> "Alexander L. Belikoff" <alexander@belikoff.net> writes:
>
>>>You're right -- I just misread my ANSI C doc in a dumb way. A long
>>>int is guaranteed to be at least 32 bits. Sorry for the confusion.
>>
>>Really?!?! I may be quite wrong, but AFAIR, the *only* thing ANSI C
>>guarantees is that long int is *no less* in size than int (which, in
>>turn is no less than short etc etc).
>
>
> K&R (ANSI C) Second Edition, page 18, middle:
>
> "long integers are at least 32 bits."

IIRC, that K&R 2e book was released before the final ANSI C
standard was ratified and isn't considered to be authoritative.
(that isn't to say you aren't right, but just so you know...)

-- 
______________________________________________________________________
Michael Sweet, Easy Software Products           mike at easysw dot com
Internet Printing and Document Software          http://www.easysw.com
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Sep 29 16:58:33 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.