[Bug fortran/34192] [4.2, 4.3 Regression] NEAREST can return wrong numbers
burnus at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Nov 22 18:06:00 GMT 2007
------- Comment #5 from burnus at gcc dot gnu dot org 2007-11-22 18:05 -------
Hmm, this does not seem to be easily possible in MPFR.
http://websympa.loria.fr/wwsympa/arc/mpfr/2007-11/msg00026.html
Possible implementation (as of 2005) by Tobias Schlüter:
http://gcc.gnu.org/ml/fortran/2005-04/msg00389.html
Steve writes to my MPFR email of today:
| This is a point I had not fully appreciated when I patched
| gfc_simplify_nearest. Try restoring the code that I removed.
| I don't remember why I removed the code, although I suspect
| that range_check function should properly handle subnormal
| numbers.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34192
More information about the Gcc-bugs
mailing list