delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/08/12/19:50:01

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Date: Thu, 12 Aug 2004 19:49:56 -0400
Message-Id: <200408122349.i7CNnuJO008848@envy.delorie.com>
From: DJ Delorie <dj AT delorie DOT com>
To: djgpp AT delorie DOT com
In-reply-to: <Xns9543C4B53396000yy77@207.35.177.135> (message from Dumas on
Thu, 12 Aug 2004 23:17:38 GMT)
Subject: Re: Help PLZ
References: <Xns9543C4B53396000yy77 AT 207 DOT 35 DOT 177 DOT 135>
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

>  unsigned long      x2 = 4294967294; 

4294967294U or 0xfffffffe

>     //signed int:output max value acepted (not acept -2147483648)

Use 0x80000000 or (-2147483647-1)

>  pi_double = 3.14159265358979;       
>     	//double (precision 15 digits): output  3.14159

I don't see any precision operators in your couts below, so it
defaults to 6 digits.  Add those and see what happens.

- Raw text -


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