No, although their switches aren't well documented for users of
the free psr f90, AFAIK there isn't any automatic precision
promotion switch. Of course, you gain the full f90 ability to
define a type which you can switch at will, once you have
updated your source code.
----- Original Message -----
From: "Toon Moene" <[log in to unmask]>
To: "Sean Oughton" <[log in to unmask]>
Cc: <[log in to unmask]>; <[log in to unmask]>
Sent: Sunday, April 23, 2000 5:50 AM
Subject: Re: Double Precision with g77
> Sean Oughton wrote:
>
> > I've been using the PSR f90 compiler on my home machine and
am
> > very happy with it.
> >
> > However, what I can't figure/find out from the documentation
(including
> > the g77 stuff) is if there's a command line switch which
promotes all
> > single precision variables (and constants) to double
precision.
> >
> > Does anyone know off the top of their head?
>
> Hmmm, I haven't seen an answer to this question yet. I've
never worked
> with the PSR f90 compiler, but if it doesn't provide a compile
time
> option to switch default reals to 8 byte quantities, you're
out of luck.
>
> g77 at least doesn't provide such a switch (it is mentioned in
the
> documentation that it doesn't, however).
>
> Hope this helps,
>
> --
> Toon Moene - mailto:[log in to unmask] - phoneto: +31
346 214290
> Saturnushof 14, 3738 XG Maartensdijk, The Netherlands
> GNU Fortran 77: http://gcc.gnu.org/onlinedocs/g77_news.html
> GNU Fortran 95: http://xena.eas.asu.edu/~andy (under
construction)
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|