delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2003/08/10/13:46:22

Date: Sun, 10 Aug 2003 13:46:20 -0400
Message-Id: <200308101746.h7AHkKPR018801@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp-workers AT delorie DOT com
In-reply-to: <50.20b0edc5.2c67d494@aol.com> (Kbwms@aol.com)
Subject: Re: Anomaly in printf()
References: <50 DOT 20b0edc5 DOT 2c67d494 AT aol 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

> produces the following (erroneous second line of) output:
> 
> Demo     = 18446744073709551615
> Demo - 1 = 18446744073709551613
> 
> 
> Is this a known problem?

I've not heard of it.  What happens when you use .3 instead of .0 in
that format spec?

- Raw text -


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