* libc/stdio/vfprintf.c: pad 0.0 correctly with %e

This commit is contained in:
DJ Delorie 2000-07-13 18:51:11 +00:00
parent d9028f52ae
commit 91a8d90bab
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2000-07-13 DJ Delorie <dj@cygnus.com>
* libc/stdio/vfprintf.c: pad 0.0 correctly with %e
Wed Jun 28 14:08:00 2000 Keith Walker <keith.walker@arm.com>
* libc/sys/arm/crt0.S (.LC30): Added missing length parameter

View File

@ -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 */