www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/30/11:45:50

From: Erik Max Francis <max AT alcyone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: long int
Date: Thu, 30 Jul 1998 08:16:11 -0700
Organization: Alcyone Systems
Lines: 19
Message-ID: <35C08E3B.18377E82@alcyone.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 980730123358 DOT 12490H-100000 AT is>
NNTP-Posting-Host: charmaine.alcyone.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

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.

long long is a GNU extension and is not ANSI.

-- 
Erik Max Francis / email max AT alcyone DOT com / whois mf303 / icq 16063900 
Alcyone Systems / irc maxxon (efnet) / finger max AT sade DOT alcyone DOT com
  San Jose, CA / languages En, Eo / web http://www.alcyone.com/max/
          USA / icbm 37 20 07 N 121 53 38 W
             \
            / I've got the fever for the flavor of a cracker
           / Ice Cube

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019