X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: dj AT delorie DOT com X-Recipient: djgpp AT delorie DOT com Date: Mon, 18 May 2015 17:26:26 +0300 From: "Eli Zaretskii (eliz AT gnu DOT org)" Subject: Re: ANNOUNCE: DJGPP 2.05 beta 1 In-reply-to: <201505181216.t4ICGaKO014123@envy.delorie.com> X-012-Sender: halo1 AT inter DOT net DOT il To: DJ Delorie Cc: djgpp AT delorie DOT com Message-id: <831tieezcd.fsf@gnu.org> References: <201505042003 DOT t44K3odg011007 AT delorie DOT com> <554DF584 DOT 4020309 AT iki DOT fi> <55501DAD DOT 1080604 AT iki DOT fi> <55579278 DOT 8090301 AT iki DOT fi> <555829A6 DOT 8010502 AT iki DOT fi> <555870E8 DOT 7040302 AT iki DOT fi> <201505180114 DOT t4I1EiaX017288 AT envy DOT delorie DOT com> <201505181216 DOT t4ICGaKO014123 AT envy DOT 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 Precedence: bulk > Date: Mon, 18 May 2015 08:16:36 -0400 > From: DJ Delorie > > > I tested this with Linux gcc 5.1 and got the same bit patterns for > both cases: > > typedef struct { > unsigned mantissal:32; > unsigned mantissah:20; > unsigned exponent:11; > unsigned sign:1; > } double_t; > double gdm = ((double)1.79769313486231570815e+308L); > double_t ddm = { 0xffffffffU, 0xfffff, 0x7fe, 0x0 }; But with the one in DJGPP's headers, we are not at the mercy of the compiler's bugs^H^H^H^Hfeatures...