%g format in printf
Doug Gwyn
gwyn at smoke.BRL.MIL
Thu Sep 7 14:43:11 AEST 1989
In article <1442 at hiatus.dec.com> daniels at 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!
More information about the Comp.std.c
mailing list