is printf() broken?

Steve Kargl sgk at troutmask.apl.washington.edu
Sun Sep 5 13:04:28 PDT 2004


On Sun, Sep 05, 2004 at 09:51:52PM +0200, Erik Trulsson wrote:
> On Sun, Sep 05, 2004 at 12:36:40PM -0700, Steve Kargl wrote:
> 
> >From Harbison & Steele 5th edition:
> 
>  The e and E conversions 
>  [...]
>  If the precision is 0, then no digits appear after the decimal point.
>  Moreover the decimal point also does not appear unless the # flag is
>  present.
> 

Thanks.  I was reading section 15.11.5 of H&S.  I did not
think to actually look at the "e and E conversion" section.
Sorry about the noise.

-- 
Steve


More information about the freebsd-standards mailing list