Fix handling of 'e' format floating point so that it prints trailing zeros
correctly.
This commit is contained in:
parent
ae4ac9b4ad
commit
53cd1fe88b
@ -507,7 +507,6 @@ reswitch: switch (ch) {
|
||||
prec = (prec == -1) ?
|
||||
DEFPREC + 1 : prec + 1;
|
||||
/* FALLTHROUGH */
|
||||
goto fp_begin;
|
||||
case 'f': /* always print trailing zeroes */
|
||||
if (prec != 0)
|
||||
flags |= ALT;
|
||||
|
Loading…
Reference in New Issue
Block a user