Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-spam!ames!oliveb!epimass!jbuck From: jbuck@epimass.UUCP Newsgroups: comp.lang.c,comp.unix.wizards Subject: Re: Time for 64-bit longs? Message-ID: <854@epimass.UUCP> Date: Sat, 31-Jan-87 14:21:39 EST Article-I.D.: epimass.854 Posted: Sat Jan 31 14:21:39 1987 Date-Received: Sun, 1-Feb-87 05:46:20 EST References: <848@epimass.UUCP> <291@mtxinu.UUCP> Reply-To: jbuck@epimass.UUCP (Joe Buck) Organization: Entropic Processing, Inc., Cupertino, CA Lines: 14 Xref: watmath comp.lang.c:905 comp.unix.wizards:773 In article <291@mtxinu.UUCP> ed@mtxinu.UUCP (Ed Gould) writes: >The problem is not that the VAX code assumes int == long (it often >does make that assumption, but those are bugs) but that C defines >only two sizes of integer: long and short. Int may be either, >depending on the implementation, but it must be one or the other. Please quote chapter and verse of K&R or the ANSI draft standard. I don't recall seeing this anywhere. K&R only guarantees sizeof (short) <= sizeof (int) <= sizeof (long) -- - Joe Buck {hplabs,ihnp4,sun,ames}!oliveb!epimass!jbuck HASA (A,S) Entropic Processing, Inc., Cupertino, California