Date: Sun, 5 Sep 2004 13:04:27 -0700 From: Steve Kargl <sgk@troutmask.apl.washington.edu> To: freebsd-standards@freebsd.org Subject: Re: is printf() broken? Message-ID: <20040905200427.GA37254@troutmask.apl.washington.edu> In-Reply-To: <20040905195152.GA6096@falcon.midgard.homeip.net> References: <20040905193640.GA37190@troutmask.apl.washington.edu> <20040905195152.GA6096@falcon.midgard.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040905200427.GA37254>