From: Message-Id: <200306211241.h5LCfqo3019787@speedy.ludd.luth.se> Subject: Re: LIBM patch for GCC 3.3 - math changes In-Reply-To: <002001c337f0$0d2a4aa0$0100a8c0@acp42g> "from Andrew Cottrell at Jun 21, 2003 10:24:23 pm" To: djgpp-workers AT delorie DOT com Date: Sat, 21 Jun 2003 14:41:52 +0200 (CEST) X-Mailer: ELM [version 2.4ME+ PL78 (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII X-MailScanner: Found to be clean 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 Precedence: bulk According to Andrew Cottrell: > > > + 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. Right, MartinS