Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: %g format in printf
Message-ID: <10963@smoke.BRL.MIL>
Date: 7 Sep 89 04:43:11 GMT
References: <19426@mimsy.UUCP> <1439@hiatus.dec.com> <1442@hiatus.dec.com>
Reply-To: gwyn@brl.arpa (Doug Gwyn)
Organization: Ballistic Research Lab (BRL), APG, MD.
Lines: 8

In article <1442@hiatus.dec.com> daniels@grue.dec.com (Bradford R. Daniels) writes:
>...  It should have been obvious to me from the sentence "... style e
>(or E) will be used only if the exponent ... is less than -4 or greater
than or equal to the precision."

Oops.  This does indeed make the correct answer 1e+3 instead of 1000,
for %g format.  I would cancel my earlier posting on this except this
&^$(^%! news software won't let me!