Date: Mon, 18 Aug 2003 20:41:35 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: peuha AT cc DOT helsinki DOT fi Message-Id: <1438-Mon18Aug2003204135+0300-eliz@elta.co.il> X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 CC: djgpp-workers AT delorie DOT com In-reply-to: (message from Esa A E Peuha on Mon, 18 Aug 2003 11:21:04 +0300 (EET DST)) Subject: Re: Anomaly in printf() References: <46 DOT 3c4de930 DOT 2c6a2e90 AT aol DOT com> <3F3B2D8E DOT F90E84B5 AT phekda DOT freeserve DOT co DOT uk> <7458-Thu14Aug2003112749+0300-eliz AT elta DOT co DOT il> Reply-To: djgpp-workers AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp-workers AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > Date: Mon, 18 Aug 2003 11:21:04 +0300 (EET DST) > From: Esa A E Peuha > > Actually, it doesn't; if the number is greater than 2^64, this could > put random garbage on the string. So we need to test the return value > of modfl to see if we can know the digit at all. This should really do > it right: Thanks!