delorie.com/archives/browse.cgi | search |
Message-ID: | <000b01c337f5$46274600$0100a8c0@acp42g> |
From: | "Andrew Cottrell" <acottrel AT ihug DOT com DOT au> |
To: | <djgpp-workers AT delorie DOT com> |
References: | <200306211241 DOT h5LCfqo3019787 AT speedy DOT ludd DOT luth DOT se> |
Subject: | Re: LIBM patch for GCC 3.3 - math changes |
Date: | Sat, 21 Jun 2003 23:01:46 +1000 |
MIME-Version: | 1.0 |
X-Priority: | 3 |
X-MSMail-Priority: | Normal |
X-Mailer: | Microsoft Outlook Express 6.00.2800.1158 |
X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2800.1165 |
Reply-To: | djgpp-workers AT delorie DOT com |
> > > > + typedef union > > > > + { > > > > + float f; > > > > + long l; > > > > + } _float_long_union; > > > > > > Why aren't you using float_t here? > > > > The math code uses float (doesn't use float_t) and I thought that this may > > be the most appropriate place to put this union as the math code in allot of > > the places has ieee prefixes in the function names. > > > > If this is wrong then please let me know where I should put the definition. > > Ok. But you'll need to add _float_union or something for strtof.c > later on, if I'm not totally mistaken. Thanks for this. I should modify it as well to use a union in ieee.h instead of defining the union locally. Looks like I will need to search for similar changes in libc that have been done. I will leave this until after I finish the C++ build patch for GCC 3.3. Hopefully I should be able to do this sometime next week. Andrew
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |