This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: update code example in g77 documentation


I wrote:

> Andreas Jaeger wrote:

> > glibc 2.2 has a superior solution for this, it's
> > called feenableexcept and fedisableexcept.  The following will work on
> > most platforms:
> >
> > fedisableexcept (FE_INVALID|FE_DIVBYZERO|FE_OVERFLOW);
> 
> That's of course much better, but it only works on glibc 2.2 platforms
> (:-)

Well, this was uncharacteristically silly of me (I hope).

Andreas, could you look into the two examples given in f/g77.texi and
give (exact) code examples on how to do this when using glibc 2.2 ?

By the time GCC 3.0 comes out, most GNU/Linux distributions *will* be
using 2.2, so it is helpful to include this information in the
documentation.

Thanks in advance,

-- 
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)

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]