64 bit longs?

gerst at ecs.umass.edu gerst at ecs.umass.edu
Tue Jan 15 01:58:24 AEST 1991


Reply-To: lloyd at ucs.umass.edu

>Subject: 64 bit longs?
>Message-ID: <2567 at casbah.acns.nwu.edu>
>From: hpa at casbah.acns.nwu.edu (Peter Anvin)

>Hi everyone.

>As far as I have understood, the following configurations are the most
>common "C" implementations for word length:

[ some int size tables deleted ]

>Does anyone know if this configuration is supported (presumably on 32-bit
>machines):
>char   =  8 bits
>short  = 16 bits
>int    = 32 bits
>long   = 64 bits
>
>All machines I have tried C on have conformed to one of the former
>configurations, none to the latter.

interesting note:

Use C on a Cyber 180 arch. running NOS/VE it looks like this:

char   = 8 bits
short  = 64 bits
int    = 64 bits
long   = 64 bits
float  = 64 bits
double = 64 bits

This might have changed with the new C (CV2) compiler..but we have yet to
get it.

(the system software is in another language :)

>-- 
>H. Peter Anvin +++ A Strange Stranger +++ N9ITP/SM4TKN +++
>INTERNET:  hpa at casbah.acns.nwu.edu   FIDONET:  1:115/989.4
>BITNET:    HPA at NUACC                 RBBSNET:  8:970/101.4

Chris Lloyd - lloyd at ucs.umass.edu



More information about the Comp.lang.c mailing list