delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/05/18/05:43:40

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Recipient: djgpp AT delorie DOT com
X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=gmail.com; s=20120113;
h=mime-version:in-reply-to:references:date:message-id:subject:from:to
:cc:content-type;
bh=HzFWYhrH5s/pvT4MTpG4kZ+TNpdBpzsueLGlEXvcN0Q=;
b=BDf9WlBI0Q9SAgsXFjUI0b/jwOHFKT5/8jGHnbAFVN1MaqG2ach2sL6QraJjewlKCf
RQ79U1wLIJ/RyyQ+i1IqfHoonCaxl2em31K3rNrY/J7kcuLG5LMjf/mzJWtwjJDJGBLE
ms54XKlsnn9G3VsRgVJZIVy8AkOE8Nn4r4o/10e2cacMZ2FsSDnIYUZN7ss7o07b2yRv
Wq7zv/0ouiuA6seFSbGk5gdMRBqojAis45Wz871rkO01BY2HoeMHMwP3+GJc6vWz/AG/
4PevNYs2sK+FcvXdO2x4UmgdnMCktaT+s4LN6SzlBz8+eqxzgiyu6iEzA0iWaIQzPsel
Q3yQ==
MIME-Version: 1.0
X-Received: by 10.50.78.100 with SMTP id a4mr13295836igx.34.1431942208300;
Mon, 18 May 2015 02:43:28 -0700 (PDT)
In-Reply-To: <201505180114.t4I1EiaX017288@envy.delorie.com>
References: <201505042003 DOT t44K3odg011007 AT delorie DOT com>
<CAA2C=vAjN-HamFRWCQak=QF_NPjR5-TBYZw1U5707MO0b=qXkw AT mail DOT gmail DOT com>
<554DF584 DOT 4020309 AT iki DOT fi>
<CAA2C=vDaOJb_RW2bQEFoM_cqwp7yhzwX-CB328r5GCCi6XcooA AT mail DOT gmail DOT com>
<55501DAD DOT 1080604 AT iki DOT fi>
<CAA2C=vAvMW-yquZLSN=Z39NU24Kqf7urjan90801i7BDTdqOvQ AT mail DOT gmail DOT com>
<55579278 DOT 8090301 AT iki DOT fi>
<CAA2C=vBaQKzmch_buxFm20DJLcG+zv6d6803+qMEx=baA4Frog AT mail DOT gmail DOT com>
<555829A6 DOT 8010502 AT iki DOT fi>
<CAA2C=vA73qPvoDFytp3FeW6bCD1-XuGsFFoDinoKn2KYY1fkow AT mail DOT gmail DOT com>
<555870E8 DOT 7040302 AT iki DOT fi>
<CAA2C=vDhD6BJj89o1i0FRd2U0H4bTpGGN4zH6qs7FJKxzqhuQg AT mail DOT gmail DOT com>
<201505180114 DOT t4I1EiaX017288 AT envy DOT delorie DOT com>
Date: Mon, 18 May 2015 12:43:28 +0300
Message-ID: <CAA2C=vCyrQ_+Yq6XsRD-UO4r=j9WoGGiXoqQFrkbiEQpzX+=MA@mail.gmail.com>
Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1
From: "Ozkan Sezer (sezeroz AT gmail DOT com)" <djgpp AT delorie DOT com>
To: djgpp AT delorie DOT com
Cc: DJ Delorie <dj AT delorie DOT com>
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 5/18/15, DJ Delorie <dj AT delorie DOT com> wrote:
>
> If gcc and djgpp have differing values for DBL_MIN and DBL_MAX, one of
> them is wrong.  Do we know which one?
>

* gcc float.h: (same for gcc3.4 and gcc5.1)
#undef FLT_MAX
#undef DBL_MAX
#undef LDBL_MAX
#define FLT_MAX		__FLT_MAX__
#define DBL_MAX		__DBL_MAX__
#define LDBL_MAX	__LDBL_MAX__

* gcc builtin defines:
#define __FLT_MAX__ 3.40282347e+38F /* gcc3.4 */
#define __FLT_MAX__ 3.40282346638528859812e+38F /* gcc5.1 */
#define __DBL_MAX__ 1.7976931348623157e+308 /* gcc3.4 */
#define __DBL_MAX__ ((double)1.79769313486231570815e+308L) /* gcc5.1 */
#define __LDBL_MAX__ 1.18973149535723176502e+4932L /* gcc3.4 */
#define __LDBL_MAX__ 1.18973149535723176502e+4932L /* gcc5.1 */

* dj float.h:
extern double __dj_double_max;
#define DBL_MAX		__dj_double_max

* libc/ansif/float/float_dx.c:
double_t __dj_double_max     = { 0xffffffffU, 0xfffff, 0x7fe, 0x0 };
* libc/ansif/float/float_fx.c:
float_t __dj_float_max     = { 0x7fffff, 0xfe, 0x0 };

- Raw text -


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