http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48602
--- Comment #4 from Jerry DeLisle <jvdelisle at gcc dot gnu.org> 2011-04-15 20:13:12 UTC --- OK I knew I was "looking" at it wrong. The formulas you mention we are using and are in write_float.def starting at line 798. The table is there as well. I have been exploring the code here but have not spotted it yet. The issue could either be in this formula implementation or in the rounding code which is nearby.