Article View: comp.std.c
Article #540Re: %g format in printf
From: Doug Gwyn
Date: Thu, 07 Sep 1989 04:43
Date: Thu, 07 Sep 1989 04:43
8 lines
873 bytes
873 bytes
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!
Technical Details
Message-ID:
<10963@smoke.BRL.MIL>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!uflorida!haven!adm!smoke!gwynReferences:
<19426@mimsy.UUCP> <1439@hiatus.dec.com> <1442@hiatus.dec.com>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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