bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in printf


From: Andreas Schwab
Subject: Re: bug in printf
Date: 25 Jul 2001 19:26:38 +0200
User-agent: Gnus/5.090003 (Oort Gnus v0.03) Emacs/21.0.105

address@hidden (Frank Gunsing) writes:

|> In printf using %wf the number of digits goes beyond the width even
|> if not necessary.

That's correct.  The default precision is 6, so the field will be expanded
as necessary to fit the six decimal digits.  This is how the C standard
specifies it.

Andreas.

-- 
Andreas Schwab                                  "And now for something
SuSE Labs                                        completely different."
address@hidden
SuSE GmbH, Schanzäckerstr. 10, D-90443 Nürnberg
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5



reply via email to

[Prev in Thread] Current Thread [Next in Thread]