Date: Tue, 3 Mar 1998 10:05:49 +0200 (IST) From: Eli Zaretskii To: Erik Max Francis cc: djgpp AT delorie DOT com Subject: Re: printf 'g' conversion In-Reply-To: <34FAE10A.49F88C55@alcyone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Precedence: bulk On Mon, 2 Mar 1998, Erik Max Francis wrote: > > It says (in a fragment you didn't quote) that when > > the `e' style would result in a sufficiently small exponent, `f' style > > should be used. This is all okay, and DJGPP's libc does just that: it > > prints a number like if you said "%11.9f". > > Where does it say this? In the same para 7.9.6.1, where it describes the `g' and `G' specifiers. > In fact, it _shouldn't_ do this for the `e' (or > `E'), because it means "I always want it in exponential notation no > matter what." Or did you mean `g'? I meant, if `g' is used, then when `e' style would result... etc.