From: sparhawk AT eunet DOT at (Gerhard Gruber) Newsgroups: comp.os.msdos.djgpp Subject: Re: long int Date: Thu, 30 Jul 1998 19:30:54 GMT Organization: EUnet Austria Lines: 26 Message-ID: <35c1c7e0.12714548@news.Austria.EU.net> References: <35C08E3B DOT 18377E82 AT alcyone DOT com> NNTP-Posting-Host: e042.dynamic.vienna.at.eu.net Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii NNTP-Posting-Date: 30 Jul 1998 19:31:38 GMT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit Precedence: bulk Destination: Erik Max Francis From: Gruber Gerhard Group: comp.os.msdos.djgpp Date: Thu, 30 Jul 1998 08:16:11 -0700: >Eli Zaretskii wrote: > >> This is indeed so for GCC on x86 processors, but ANSI does NOT require >> it. >> ANSI only says that a long should be at least as wide as an int. > >And that it is _at least_ 32 bits. It may be more, but you're >guaranteed at least 32 bits. This is for GCC so but this is not generally so. There are compilers where an int is 16bit. -- Bye, Gerhard email: sparhawk AT eunet DOT at g DOT gruber AT sis DOT co DOT at Spelling corrections are appreciated.