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

 
 

bug #9345: Zero-Padding on vfprintf

Submitted by:  None
Submitted on:  Tue 15 Jun 2004 09:47:00 AM UTC  
 
Category: LibrarySeverity: 4 - Important
Priority: 5 - NormalItem Group: None
Status: FixedPercent Complete: 0%
Assigned to: Joerg Wunsch <joerg_wunsch>Originator Email: -unavailable-
Open/Closed: ClosedRelease: None
Fixed Release: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project AdministratorIn charge of this item.
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.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follow 6 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Tue 28 Dec 2004 07:33:15 PM UTCjoerg_wunschStatusNone=>Fixed
  Open/ClosedOpen=>Closed
Wed 22 Dec 2004 10:36:07 PM UTCjoerg_wunschPriority7 - High=>5 - Normal
Wed 22 Dec 2004 10:18:27 PM UTCarcanumAssigned toNone=>joerg_wunsch
Wed 22 Dec 2004 10:08:20 PM UTCarcanumSeverity3 - Normal=>4 - Important
  Priority5 - Normal=>7 - High

Back to the top


Powered by Savane 3.1-cleanup1