[Bug libfortran/48488] Wrong default format for real numbers

thenlich at users dot sourceforge.net gcc-bugzilla@gcc.gnu.org
Mon May 2 11:30:00 GMT 2011


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48488

Thomas Henlich <thenlich at users dot sourceforge.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED

--- Comment #9 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-05-02 11:24:13 UTC ---
Ok, the precision is now consistently the smallest value that ensures
round-trip conversion for all values.

It may not always look nice, but it fulfills the Fortran standard ("reasonable
processor-dependent values of w, d, and e are used") with "reasonable" being
defined by Pmin(bf) in IEEE 754/2008.

It's the best we can do with this, so I'm closing this one.



More information about the Gcc-bugs mailing list