From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,313213915b4878b4 X-Google-Attributes: gid111c93,public From: A.Dergatchev@tn.utwente.nl (Andrei A. Dergatchev) Subject: Re: Alpha/Linux Numerics Please... Date: 2000/02/28 Message-ID: <38ba535f.51460178@news.nic.utwente.nl>#1/1 X-Deja-AN: 590800101 References: <89c7hl$3g2$1@sloth.swcp.com> Organization: University of Twente, Enschede, The Netherlands X-Server-Date: 28 Feb 2000 10:56:14 GMT Newsgroups: comp.os.linux.alpha Hi, [...] >As far as I can tell, there is nothing like the sun '-r8' switch on either >the fort (Dec/Compaq Fortran) or g77 compilers to default to 64 bit floats, >and 128bit doubles. Nothing like that for g77 for sure. > >--- > >I am assuming that the C model has > > int 4bytes > long 8bytes > pointer 8bytes > float 4bytes > double 8bytes > >These can be found with a sizeof () so should be ok. > >--- > >I SUSPECT that there is a way to get to 128bit (16byte) 'long double' >arithmetic in both C and Fortran, but the simple guess of 'long double' >with gcc still produced an 8 bit size. >Any thoughts here? I believe the only reason why it wasn't implemented yet is a lack of man power (for gcc/g77 for sure). I also agree that in principle it can be done. Anyone can just send a patch to g77 maintainers. I believe they will happily accept it :-) > >-- > Reg.Clemens > reg@dwf.com Regards, Andrei