From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,66f71f9e29f106bb X-Google-Attributes: gid111c93,public From: Rich Griswold Subject: Re: Size of types on Alpha Date: 2000/06/12 Message-ID: <39450798.AFE590D7@us.ibm.com>#1/1 X-Deja-AN: 633604797 Content-Transfer-Encoding: 7bit References: X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.rchland.ibm.com X-Trace: news.rchland.ibm.com 960825242 6894 9.5.218.81 (12 Jun 2000 15:54:02 GMT) Organization: IBM Rochester MN Mime-Version: 1.0 Reply-To: rgriswol@us.ibm.com NNTP-Posting-Date: 12 Jun 2000 15:54:02 GMT Newsgroups: comp.os.linux.alpha Ian Wilkinson wrote: > > I would like to know where I can find information on the size of char, int, > long int and float on Alpha. > > Any information would be very helpful. > > Ian. > -- > Do not meddle in the affairs of sysadmins, for they are subtle and quick to > anger. > > Uptime at 6:41am up 2 days, 16:03, 10 users, #include main(){ printf( "char %d\n", sizeof( char ) ); printf( "short %d\n", sizeof( short ) ); printf( "int %d\n", sizeof( int ) ); printf( "long %d\n", sizeof( long ) ); printf( "float %d\n", sizeof( float ) ); printf( "double %d\n", sizeof( double ) ); printf( "long double %d\n", sizeof( long double ) ); } Output on 21064A: char 1 short 2 int 4 long 8 float 4 double 8 long double 8 -- Richard Griswold On the products of the Sirius Cybernetics Corporation: "It is easy to be blinded to the essential uselessness of them by the sense of achievement you get from getting them to work at all. In other words... their fundamental design flaws are completely hidden by their superficial design flaws." Douglas Adams, "So Long, and Thanks For All the Fish" Uptime at 10:50am up 62 days, 25 min, 5 users, load average: 0.10, 0.10, 0.09