fltfmt: fix %g not printing as %e in some cases when it should
This commit is contained in:
parent
6bd2c26a85
commit
3d908529e9
1 changed files with 1 additions and 1 deletions
|
@ -204,7 +204,7 @@ found:
|
||||||
*/
|
*/
|
||||||
if(xadd(s1, c2, 5))
|
if(xadd(s1, c2, 5))
|
||||||
e++;
|
e++;
|
||||||
if(e >= -5 && e <= prec) {
|
if(e >= -4 && e <= prec) {
|
||||||
c1 = -e - 1;
|
c1 = -e - 1;
|
||||||
c4 = prec - e;
|
c4 = prec - e;
|
||||||
chr = 'h'; // flag for 'f' style
|
chr = 'h'; // flag for 'f' style
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue