GCC options and floating-point correctness (benchmarks)
Joost VandeVondele
jv244@hermes.cam.ac.uk
Thu Mar 25 19:43:00 GMT 2004
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
More information about the Gcc
mailing list