This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34192] [4.2, 4.3 Regression] NEAREST can return wrong numbers



------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]