Time for 64-bit longs?

news at cit-vax.UUCP news at cit-vax.UUCP
Fri Jan 30 15:51:31 AEST 1987


Organization : California Institute of Technology
Keywords: 
From: jon at oddhack.Caltech.Edu (Jon Leech)
Path: oddhack!jon

In article <291 at mtxinu.UUCP> ed at 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.

	I don't think this is correct. All K&R says about it is
that 'short is no longer than long' (pg 34 sec 2.2). Why not have
short=16 bits, int=32 bits, long=64 bits?

    -- Jon Leech (jon at csvax.caltech.edu || ...seismo!cit-vax!jon)
    Caltech Computer Science Graphics Group
    __@/



More information about the Comp.unix.wizards mailing list