fltfmt: fix %g not printing as %e in some cases when it should

This commit is contained in:
ppatience0 2013-03-01 17:23:26 -05:00
parent 6bd2c26a85
commit 3d908529e9

View file

@ -204,7 +204,7 @@ found:
*/
if(xadd(s1, c2, 5))
e++;
if(e >= -5 && e <= prec) {
if(e >= -4 && e <= prec) {
c1 = -e - 1;
c4 = prec - e;
chr = 'h'; // flag for 'f' style