bugAVR C Runtime Library - Bugs: bug #9345, Zero-Padding on vfprintf

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #9345: Zero-Padding on vfprintf

Submitter:  None
Submitted:  Tue 15 Jun 2004 09:47:00 AM UTC
   
 
Category:  Library Severity:  4 - Important
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  joerg_wunsch
Percent Complete:  0% Originator Email:  -email is unavailable-
Open/Closed:  Closed Release:  None
Fixed Release:  None

Tue 28 Dec 2004 07:33:15 PM UTC, comment #1: 

Fixed in rev 1.11 of libc/stdio/vfprintf.c.

Joerg Wunsch <joerg_wunsch>
Group administrator
Tue 15 Jun 2004 09:47:00 AM UTC, original submission:  

Any zero padding when using %f in vfprintf is removed as soon as any precision is used.

double x = 12.34;
%10f gives result: 012.340000
%08.2f gives result: 12.34 (Space padded)

The latter output should be:
00012.34


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Follow 6 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-12-28 joerg_wunsch StatusNone Fixed
    Open/ClosedOpen Closed
2004-12-22 joerg_wunsch Priority7 - High 5 - Normal
2004-12-22 arcanum Assigned toNone joerg_wunsch
2004-12-22 arcanum Severity3 - Normal 4 - Important
    Priority5 - Normal 7 - High

Back to the top

Powered by Savane 3.13-758e.
Corresponding source code