Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: A.Dergatchev@tn.utwente.nl (Andrei A. Dergatchev)
Subject: Re: Alpha/Linux Numerics Please...
Date: 2000/02/28	[thread overview]
Message-ID: <38ba535f.51460178@news.nic.utwente.nl> (raw)
In-Reply-To: 89c7hl$3g2$1@sloth.swcp.com

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



  parent reply	other threads:[~2000-02-28  5:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-02-27  5:00 Alpha/Linux Numerics Please reg
2000-02-28  5:00 ` Joern Amundsen
2000-02-28  5:00 ` Andrei A. Dergatchev [this message]
2000-03-02  5:00 ` Ryan C. Price
2000-03-02  5:00   ` Greg Lindahl
2000-03-06  5:00     ` Ryan C. Price
2000-03-02  5:00   ` Timo Biesenbach
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox