Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Jan 1998 12:56:07 +1100 (EDT)
From:      Darren Reed <avalon@coombs.anu.edu.au>
To:        tlambert@primenet.com (Terry Lambert)
Cc:        avalon@coombs.anu.edu.au, tlambert@primenet.com, brian@awfulhak.org, freebsd-hackers@FreeBSD.ORG
Subject:   Re: New typedefs in sys/types.h
Message-ID:  <199801130158.RAA08540@hub.freebsd.org>
In-Reply-To: <199801130027.RAA25349@usr08.primenet.com> from "Terry Lambert" at Jan 13, 98 00:27:09 am

next in thread | previous in thread | raw e-mail | index | archive | help
In some mail from Terry Lambert, sie said:
> 
> > > Technically, long should be 64 bits because sizeof(int) is <= sizeof(long);
> > > but just as technically, a 64 bit int meets the "register size test"
> > > and the "single bus cycle test" for "int-ness" (the same test that
> > > *should* have made compiler writers use 16 bit int's on 68000/68010
> > > chips).
> 
> [ ... ]
> 
> > i believe i goes like...
> > 
> > long = 64 bits
> > int = 32 bits
> 
> This is, of course, just the bogosity I was trying to avoid.

Well, FWIW, apparently Digital Unix has int = 32 and long = 64.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199801130158.RAA08540>