* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
This commit is contained in:
@ -824,7 +824,7 @@ number: if ((dprec = prec) >= 0)
|
||||
ox[0] = *cp++;
|
||||
ox[1] = '.';
|
||||
PRINT(ox, 2);
|
||||
if (_double || (flags & ALT) == 0) {
|
||||
if (_double) {
|
||||
PRINT(cp, ndig-1);
|
||||
} else /* 0.[0..] */
|
||||
/* __dtoa irregularity */
|
||||
|
Reference in New Issue
Block a user