Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Message from discussion Alpha Linux
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Alan Cox  
View profile  
 More options Sep 9 1994, 6:54 am
Newsgroups: comp.os.linux.development
From: iia...@iifeak.swan.ac.uk (Alan Cox)
Date: Fri, 9 Sep 1994 09:46:13 GMT
Local: Fri, Sep 9 1994 5:46 am
Subject: Re: Alpha Linux
In article <1994Sep6.180654.21...@mcshub.dcss.mcmaster.ca> ukrai...@soma.crl.mcmaster.ca (Andrew Ukrainec) writes:

>Another observation: at least according to the K&R C specification, short
>int, int, and long int are not defined to be any specific bit length, and
>can all be equal to same bit length, as a matter of fact.  The programmer
>who writes expecting short int = 16 bits should know that the code will not
>necessarily be portable.

>Therefore, there shouldn't be a problem defining

>short int = 32 bits
>int       = 64 bits
>long int  = 64 bits

Indeed not. Do we get 128 bit long longs in gcc however ?. The other thing
people for get is char != 8 bits always. The Honeywell L66 had
char=9bits(*) (or 7 depending upon compiler setting), short=36bit, int=36bit,
long=36bit). Made for some porting fun.

(*) 4 or 5 chars per machine word.

Alan
--
  ..-----------,,----------------------------,,----------------------------,,
 // Alan Cox  //  iia...@www.linux.org.uk   //  GW4PTS@GB7SWN.#45.GBR.EU  //
 ``----------'`----------------------------'`----------------------------''


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.