* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant
decimal point in case the float argument is an integral value.
This commit is contained in:
		| @@ -1,3 +1,8 @@ | |||||||
|  | 2010-02-15  Corinna Vinschen  <corinna@vinschen.de> | ||||||
|  |  | ||||||
|  | 	* libc/stdio/vfprintf.c (_VFPRINTF_R): Drop printing a redundant | ||||||
|  | 	decimal point in case the float argument is an integral value. | ||||||
|  |  | ||||||
| 2010-02-11  Craig Howland <howland@LGSInnovations.com> | 2010-02-11  Craig Howland <howland@LGSInnovations.com> | ||||||
|         |         | ||||||
| 	* libc/include/machine/ieeefp.h:  isfinite macro modified to run faster | 	* libc/include/machine/ieeefp.h:  isfinite macro modified to run faster | ||||||
|   | |||||||
| @@ -1578,7 +1578,7 @@ number:			if ((dprec = prec) >= 0) | |||||||
| 						cp = convbuf + ndig; | 						cp = convbuf + ndig; | ||||||
| 					} | 					} | ||||||
| #endif | #endif | ||||||
| 					if (prec || flags & ALT) | 					if (expt < ndig || flags & ALT) | ||||||
| 					    PRINT (decimal_point, decp_len); | 					    PRINT (decimal_point, decp_len); | ||||||
| 					PRINTANDPAD (cp, convbuf + ndig, | 					PRINTANDPAD (cp, convbuf + ndig, | ||||||
| 						     ndig - expt, zeroes); | 						     ndig - expt, zeroes); | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user