http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48511
--- Comment #11 from Thomas Henlich <thenlich at users dot sourceforge.net> 2011-04-28 10:01:45 UTC --- (In reply to comment #10) > As an addendum to the above, one thing we could do with modest effort and > without importing Gay's code would be to remove trailing zeros for G0 (and > maybe list directed) output. For this to be useful, it would require to choose a precision of not more than P(bf) = floor(p×log10(2)); or floor(p×log10(2)) - 1, I'm not quite sure. That would be P = {7, 15, 19, 34} or {6, 14, 18, 33}. We then would have a loss of precision and no guarantee of round-trip conversion to the same number.