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: "Ian Wilkinson" Subject: Re: Size of types on Alpha Date: 2000/06/14 Message-ID: #1/1 X-Deja-AN: 634220854 References: <39450798.AFE590D7@us.ibm.com> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200 X-Complaints-To: abuse@plus.net.uk X-Trace: stones 960943652 212.56.110.86 (Wed, 14 Jun 2000 01:47:32 BST) X-MSMail-Priority: Normal NNTP-Posting-Date: Wed, 14 Jun 2000 01:47:32 BST Newsgroups: comp.os.linux.alpha Rich Griswold wrote in message news:39450798.AFE590D7@us.ibm.com... > 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. > > #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 Thanks. I had looked in the kernel source, but as I'm not too much of a hacker I didn't find what I was looking for > Uptime at 10:50am up 62 days, 25 min, 5 users, load average: 0.10, > 0.10, 0.09 Nice uptime. I have to move from one side of England to the other fairly regularly so I get about 14/21 days uptime and have to shutdown again... Ian. -- First thing we do, let's kill all the lawyers. - Dick the Butcher in Shakespeare's Henry VI Uptime at 1:41am up 4 days, 11:04, 8 users,