From owner-freebsd-standards@FreeBSD.ORG Sun Sep 5 20:04:28 2004 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0674816A4CE for ; Sun, 5 Sep 2004 20:04:28 +0000 (GMT) Received: from troutmask.apl.washington.edu (troutmask.apl.washington.edu [128.208.78.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id DCE1C43D39 for ; Sun, 5 Sep 2004 20:04:27 +0000 (GMT) (envelope-from sgk@troutmask.apl.washington.edu) Received: from troutmask.apl.washington.edu (localhost [127.0.0.1]) i85K4R3H037387 for ; Sun, 5 Sep 2004 13:04:27 -0700 (PDT) (envelope-from sgk@troutmask.apl.washington.edu) Received: (from sgk@localhost)i85K4RT9037386 for freebsd-standards@freebsd.org; Sun, 5 Sep 2004 13:04:27 -0700 (PDT) (envelope-from sgk) Date: Sun, 5 Sep 2004 13:04:27 -0700 From: Steve Kargl To: freebsd-standards@freebsd.org Message-ID: <20040905200427.GA37254@troutmask.apl.washington.edu> References: <20040905193640.GA37190@troutmask.apl.washington.edu> <20040905195152.GA6096@falcon.midgard.homeip.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040905195152.GA6096@falcon.midgard.homeip.net> User-Agent: Mutt/1.4.1i Subject: Re: is printf() broken? X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Sep 2004 20:04:28 -0000 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