data types

Tom Middleton middleto at sdsu.UUCP
Tue Jan 31 12:16:34 AEST 1989


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 at ucsd.edu



More information about the Comp.lang.c mailing list