| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 10 Aug 2003 22:23:07 +0200 |
| From: | "Eli Zaretskii" <eliz AT elta DOT co DOT il> |
| Sender: | halo1 AT zahav DOT net DOT il |
| To: | djgpp-workers AT delorie DOT com |
| Message-Id: | <9003-Sun10Aug2003222306+0300-eliz@elta.co.il> |
| X-Mailer: | emacs 21.3.50 (via feedmail 8 I) and Blat ver 1.8.9 |
| In-reply-to: | <200308101817.h7AIHDhr019129@envy.delorie.com> (message from DJ |
| Delorie on Sun, 10 Aug 2003 14:17:13 -0400) | |
| Subject: | Re: Anomaly in printf() |
| References: | <1e0 DOT eca6e87 DOT 2c67e363 AT aol DOT com> <200308101817 DOT h7AIHDhr019129 AT envy DOT delorie DOT com> |
| 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 |
> Date: Sun, 10 Aug 2003 14:17:13 -0400 > From: DJ Delorie <dj AT delorie DOT com> > > > Behold: > > > > Demo = 18446744073709551615.000 > > Demo - 1 = 18446744073709551613.000 > > Ok, that's a bug. Is it? We are printing a long double, which IIRC has 19 significant digits. The ``error'' here happens in the 20th digit, unless I'm mistaken.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |