Xref: utzoo comp.lang.c:15917 comp.std.c:798 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!ucsd!sdcsvax!ucsdhub!sdsu!middleto From: middleto@sdsu.UUCP (Tom Middleton) Newsgroups: comp.lang.c,comp.std.c Subject: data types Summary: int short long Message-ID: <3447@sdsu.UUCP> Date: 31 Jan 89 02:16:34 GMT Reply-To: middleto@sdsu.UCSD.EDU (Tom Middleton) Organization: San Diego State University, Math/Sciences Dept. Lines: 18 Someone suggested to me that the C data types for short and long were fixed at 16 and 32 bits respectively and that the int type size was allowed to float based on the word size of the machine. This seems to fit with my experience but brings up the question. What happens when you go to a 48 or 64 bit machine? Does int then become 48 or 64 bits while long stays at 32? And by any change was this the purpose of creating the short and long types? Also, is this part of the standard or is it still under discussion? Thanks in advance. (it would probably be kind of you to respond via email) -- G O P A D R E S ! Thomas Earl Middleton 1989 aka Happy Bare N L C H A M P S ! UUCP ...!ucsd!sdsu!middleto W S C H A M P S ! ARPA middleto%sdsu.uucp@ucsd.edu