This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Constant math functions in Fortran.
Richard Henderson wrote:
>
> On Sat, Jul 15, 2000 at 08:05:12PM +0200, I wrote:
> > Fortunately, calls to a lot of (g)libc routines are encoded directly by
> > the FFE - these take their arguments by value, so can be regarded as to
> > be really, really "const".
>
> Careful -- most of these functions are not marked const in glibc
> because of the possibility of changing rounding modes in between.
> But that may not be an issue for you...
No, that won't be a problem until we implement a F2K compiler - but
thanks for notifying me; we might need this information some day ...
--
Toon Moene - mailto:toon@moene.indiv.nluug.nl - 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://g95.sourceforge.net/ (under construction)