This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: GCC options and floating-point correctness (benchmarks)
- From: Joost VandeVondele <jv244 at hermes dot cam dot ac dot uk>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 25 Mar 2004 18:47:10 +0000 (GMT)
- Subject: Re: GCC options and floating-point correctness (benchmarks)
Using the fortran version of the paranoia test :
http://www.netlib.org/paranoia/
xlf -qfloat=nomaf:rndsngl -qstrict -O3 dpara.f
No failures, defects nor flaws have been discovered.
Rounding appears to conform to the proposed IEEE standard P754
The arithmetic diagnosed appears to be Excellent!
End of Test.
f95 -ieee=full dpara.f
The number of FLAWs discovered = 1
The arithmetic diagnosed seems Satisfactory though flawed.
End of Test.
(flaw -0.0**0 -> NaN)
Joost