This is the mail archive of the
fortran@gcc.gnu.org
mailing list for the GNU Fortran project.
Re: complex functions and exceptional values
On Fri, Jan 21, 2011 at 12:25, N.M. Maclaren <nmm1@cam.ac.uk> wrote:
> Even now, the Fortran community is sufficiently clued-up that it
> will not accept an abomination like C99 Annex G (which becomes
> normative in C1X). ÂSo please DON'T follow that.
There is the -fcx-fortran-rules which avoids the worst of the C99
complex brain damage without going all the way to -ffast-math;
originally this was added for the gfortran runtime library, but
nothing prevents it's use by other C code. Or C++, for that matter, I
suppose. See
http://gcc.gnu.org/ml/fortran/2008-02/msg00162.html
--
Janne Blomqvist