delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2005/03/08/17:15:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "MarioC" <marioc AT no-spam DOT qitech DOT net>
Newsgroups: comp.os.msdos.djgpp
References: <knoXd.1026935$35 DOT 38170845 AT news4 DOT tin DOT it> <200503082119 DOT j28LJN9M020399 AT envy DOT delorie DOT com>
Subject: Re: questions about formatting
Lines: 18
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
X-RFC2646: Format=Flowed; Original
Message-ID: <itpXd.1027241$35.38186645@news4.tin.it>
Date: Tue, 08 Mar 2005 22:14:38 GMT
NNTP-Posting-Host: 217.172.194.163
X-Complaints-To: "Please send abuse reports to abuse AT tin DOT it and technical notifications to newsmaster AT tin DOT it"
X-Trace: news4.tin.it 1110320078 217.172.194.163 (Tue, 08 Mar 2005 23:14:38 MET)
NNTP-Posting-Date: Tue, 08 Mar 2005 23:14:38 MET
Organization: TIN
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"DJ Delorie" <dj AT delorie DOT com> wrote
>
>> values, the precision field indicates the maximum number of decimal
>> digits printed (for g and G)
>
> Maximum digits.  Not maximum digits after the decimal point.

Thanks for the answer (and for djgpp, by the way)... I was partly 
mislead by "the number of fraction digits for a floating point number 
(max for g or G, actual for others)" in the online docs that made me 
think that g and f differred only marginally with this respect, but I 
now see that I got the worst possible choice of a test case...

Thanks again
-mario


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019