X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Message-ID: <3FE8BB51.7060505@phekda.gotadsl.co.uk> Date: Tue, 23 Dec 2003 22:01:53 +0000 From: Richard Dawe User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20031031 X-Accept-Language: en, de, fr MIME-Version: 1.0 To: DJGPP workers Subject: Re: Fwd: isnanf et al References: <25 DOT 426e728a DOT 2d1a09d4 AT aol DOT com> In-Reply-To: <25.426e728a.2d1a09d4@aol.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com Hello. Kbwms AT aol DOT com wrote: > In a message dated 12/23/2003 2:17:28 PM Eastern Standard Time, > rich AT phekda DOT gotadsl DOT co DOT uk writes: > >> >> I completely confused by this thread. I think I'm confusing you guys >> too. I'll get back to you with an answer sometime in the new year. Thanks for forwarding me those. I'm not as confused as I thought I was. ;) > Some misguided, hapless individual cluttered 24 functions in libm of > type float with code that was not needed. Some of it was incorrect as > pointed out in the forwarded email. I applied those patches (with some minor changes) for Andrew Cottrell (pardon pointing the finger). This was done as part of the type-punning fixes for gcc 3.3.x. I didn't realise at the time that the fixes were broken, so mea culpa. > Here is the magic patch that fixes the problem: > > --- c:/djgpp.204/src/libm/math/fdlibm.h 1998-10-04 06:48:42.000000000 -0400 > +++ c:/djgpp/src/libm/math/fdlibm.h 2003-12-15 11:44:02.000000000 -0500 > @@ -22,6 +22,10 @@ > #include > #endif > > +#undef isnanf > +#undef isinff > +#undef finitef > + > /* CYGNUS LOCAL: Default to XOPEN_MODE. */ > #define _XOPEN_MODE Why not just remove the definitions of is*f from ? > If the changes persist into DJGPP v2.04, I will submit correcting > patches that restore the code. The functions to be "reverted" are > listed in the forwarded email and below: [snip] I can revert the patches I applied, once my question about above is answered. Thanks, bye, Rich =] -- Richard Dawe [ http://homepages.nildram.co.uk/~phekda/richdawe/ ] "You can't evaluate a man by logic alone." -- McCoy, "I, Mudd", Star Trek