This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: FLOATING-POINT CONSISTENCY, -FFLOAT-STORE, AND X86
>>>>> "Toon" == Toon Moene <toon@moene.indiv.nluug.nl> writes:
Toon> I tend to turn this remark around: What we need in the g77
Toon> manual (despite the fact that it is not exclusively relevant to
Toon> FORTRAN) is a section on the uses and pitfalls of floating
Toon> point arithmetic.
We already have such a section, don't we? (not that I'd want to
discourage doc additions!).
Toon> I'll set out to write this (this won't be easy, as I have to
Toon> evade the obvious references for copyright reasons).
We already make what I thought were some obvious references, but no
matter. What's the problem with such references? (I don't think we
really need such stuff to be free per GNU docs, because it isn't
actually program doc.)
Toon> In the mean time, it would be useful for the compiler to warn
Toon> about testing floating point variables for (in)equality.
I think ftnchek (Toolpack?) will do that if it helps.