2000-08-16 Eric Fifer <efifer@sanwaint.com>
* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
This commit is contained in:
parent
e3c9eeaf79
commit
5bacbf109f
|
@ -1,3 +1,7 @@
|
||||||
|
2000-08-16 Eric Fifer <efifer@sanwaint.com>
|
||||||
|
|
||||||
|
* libc/stdio/vfprintf.c (_vfprintf_r): suppress . with "%.0f", 0.1
|
||||||
|
|
||||||
2000-08-09 Nick Clifton <nickc@cygnus.com>
|
2000-08-09 Nick Clifton <nickc@cygnus.com>
|
||||||
|
|
||||||
* libc/sys/arm/setjmp.S: Recode to clean up function prologues and
|
* libc/sys/arm/setjmp.S: Recode to clean up function prologues and
|
||||||
|
|
|
@ -805,9 +805,11 @@ number: if ((dprec = prec) >= 0)
|
||||||
}
|
}
|
||||||
} else if (expt <= 0) {
|
} else if (expt <= 0) {
|
||||||
PRINT("0", 1);
|
PRINT("0", 1);
|
||||||
PRINT(decimal_point, 1);
|
if(ndig) {
|
||||||
PAD(-expt, zeroes);
|
PRINT(decimal_point, 1);
|
||||||
PRINT(cp, ndig);
|
PAD(-expt, zeroes);
|
||||||
|
PRINT(cp, ndig);
|
||||||
|
}
|
||||||
} else if (expt >= ndig) {
|
} else if (expt >= ndig) {
|
||||||
PRINT(cp, ndig);
|
PRINT(cp, ndig);
|
||||||
PAD(expt - ndig, zeroes);
|
PAD(expt - ndig, zeroes);
|
||||||
|
|
Loading…
Reference in New Issue