Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!usc!zaphod.mps.ohio-state.edu!casbah.acns.nwu.edu!hpa From: hpa@casbah.acns.nwu.edu (Peter Anvin) Newsgroups: comp.lang.c Subject: 64 bit longs? Summary: Are there 32-bit-int machines which uses long for 64 bits? Keywords: long, 64-bit, int32, int64 Message-ID: <2567@casbah.acns.nwu.edu> Date: 13 Jan 91 07:03:52 GMT Distribution: usa Organization: Northwestern University Lines: 33 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@casbah.acns.nwu.edu FIDONET: 1:115/989.4 BITNET: HPA@NUACC RBBSNET: 8:970/101.4