64 bit longs?

Peter Anvin hpa at casbah.acns.nwu.edu
Sun Jan 13 18:03:52 AEST 1991


Hi everyone.

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

(16 bit architecture)
char   =  8 bits
short  = 16 bits
int    = 16 bits
long   = 32 bits

(32 bit architecture)
char   =  8 bits
short  = 16 bits
int    = 32 bits
long   = 32 bits

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.



-- 
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



More information about the Comp.lang.c mailing list