delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/03/01/06:18:40

Date: Sun, 1 Mar 1998 13:16:53 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Andrew Gibson <andrew AT petrologic DOT co DOT uk>
cc: djgpp AT delorie DOT com
Subject: Re: printf 'g' conversion
In-Reply-To: <34F6D8EE.BF28CC5B@petrologic.co.uk>
Message-ID: <Pine.SUN.3.91.980301131518.13547I-100000@is>
MIME-Version: 1.0

On Fri, 27 Feb 1998, Andrew Gibson wrote:

> From Linux this is what I get. From DJGPP I get 9 decimal places and
> only 8 sig figs.

I'm not sure that this is a bug.  My ANSI C references seem to be not 
definitive on this.  Can someone with clearer understanding of what the 
standard says clarify this?

> I have modified my DJGPP library source to make it work the same as
> Linux in this case.

Please post your patch here.  Thanks.

- Raw text -


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