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>
|
||||
|
||||
* 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) {
|
||||
PRINT("0", 1);
|
||||
PRINT(decimal_point, 1);
|
||||
PAD(-expt, zeroes);
|
||||
PRINT(cp, ndig);
|
||||
if(ndig) {
|
||||
PRINT(decimal_point, 1);
|
||||
PAD(-expt, zeroes);
|
||||
PRINT(cp, ndig);
|
||||
}
|
||||
} else if (expt >= ndig) {
|
||||
PRINT(cp, ndig);
|
||||
PAD(expt - ndig, zeroes);
|
||||
|
Loading…
Reference in New Issue
Block a user