--- gdtoa-gdtoa.c.orig 2007-03-26 22:44:56.000000000 -0700 +++ gdtoa-gdtoa.c 2007-03-26 23:21:08.000000000 -0700 @@ -479,8 +479,11 @@ } ++*s++; } - else + else { inex = STRTOG_Inexlo; + while(*--s == '0'){} + s++; + } break; } }