http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58020
Dominique d'Humieres <dominiq at lps dot ens.fr> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Last reconfirmed| |2013-07-30 Ever confirmed|0 |1 --- Comment #4 from Dominique d'Humieres <dominiq at lps dot ens.fr> --- I have tested the code at http://mathalacarte.com/hpcconsult (without reading it). The files IEEE_ARITHMETIC.f90 and IEEE_tests_gfortran.f90 must be compiled with the -fno-range-check option (for the second file it triggers PR58027). On x86_64-apple-darwin10 the output differs from the one in 'list': --- tmp 2013-07-30 12:33:24.000000000 +0200 +++ list 2013-07-25 21:27:02.000000000 +0200 @@ -77,7 +77,7 @@ Double precision rounding mode IEEE_DOWN for \pi ~= 3.142 is < value with IEEE_UP. - Double precision rounding mode IEEE_DOWN for \pi ~= 3.141 agrees with IEEE_TO_ZERO. + Double precision rounding mode IEEE_DOWN for \pi ~= 3.142 agrees with IEEE_TO_ZERO. Double precision a=IEEE_REM(4, \pi) correctly satisfies a + \pi==4.